Source Location: /mooan_documentlib.php
Created by Kirsi Jokisalo 08.08.2006 for the Mooan-software project at the Department of Computer science, University of Helsinki.
void mooan_get_annotation(
$document_id)
[line 31]
This function checks, if annotating is on for the current document It gets document_id as parameter.
It returns true, if annotating is on, and false if annotating is off. It uses the mooan_connect_mooan_db()-function in this file.
[ Top ]
void mooan_print_table(
)
[line 96]
this exist to help testing. it prints the database table
[ Top ]
void mooan_set_annotation(
$status, $document_id)
[line 65]
This function sets annotating on/off by the parameter $status It gets boolean $status as parameter: if $status is true it sets annotation on, else off.
It uses the mooan_connect_mooan_db()-function. It returns true, if annotation was successfully turned on/off and false, if annotation already was on/off.
[ Top ]