|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| __construct () | |
| get_comments ($page) | |
| print_comments ($page=0) | |
| delete_comment ($commentid) | |
| delete_comments ($list) | |
Definition at line 25 of file locallib.php.
| __construct | ( | ) |
Constructs the comment_manage object
Definition at line 36 of file locallib.php.
| delete_comment | ( | $ | commentid | ) |
Delete a comment
| int | $commentid |
Definition at line 187 of file locallib.php.
| delete_comments | ( | $ | list | ) |
Delete comments
| string | $list | A list of comment ids separated by hyphens |
Definition at line 201 of file locallib.php.
| get_comments | ( | $ | page | ) |
Return comments by pages
moodle_database $DB
| int | $page |
Definition at line 48 of file locallib.php.


| print_comments | ( | $ | page = 0 | ) |
Print comments
| int | $page |
Definition at line 141 of file locallib.php.
