Procedural File: mooan_readcomments.php
Source Location: /mooan_readcomments.php
Page Details:
Created by Kirsi Jokisalo 08.08.2006 for the Mooan-software project at the Department of Computer science, University of Helsinki.
Tags:
- todo - Remove the document_id column from the mooan_comment_history table. It's not used for anything and probably doubles the size of the table.
mooan_comment_history
array mooan_comment_history(
string $user, string $document_id)
[line 98]
Reads from the DB which comments attached to the current document the current user has read, and if read, when.
Tags:
- return - An associative array of commentID => date last read. An empty array is returned on failure.
- uses - $db
Parameters
-
string
$user
-
The user string, as returned by mooan_get_current_user_id()
-
string
$document_id
-
ID of the document, as returned by mooan_get_current_document_id()
[ Top ]