Procedural File: mooan_documentlib.php

Source Location: /mooan_documentlib.php



Classes:

Page Details:

Created by Kirsi Jokisalo 08.08.2006 for the Mooan-software project at the Department of Computer science, University of Helsinki.





mooan_get_annotation

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.

Parameters

  • $document_id -

[ Top ]

mooan_print_table

void mooan_print_table( )

[line 96]

this exist to help testing. it prints the database table

Parameters

[ Top ]

mooan_set_annotation

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.

Parameters

  • $status -
  • $document_id -

[ Top ]


Documentation generated on Tue, 06 Feb 2007 13:09:11 +0200 by phpDocumentor 1.3.0RC6