Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Functions
lib.php File Reference

This file contains the moodle hooks for the submission comments plugin. More...

Functions

 assignsubmission_comments_comment_add (stdClass $comment, stdClass $param)
 Callback to force the userid for all comments to be the userid of the submission and NOT the global $USER->id. More...
 
 assignsubmission_comments_comment_display ($comments, $options)
 Callback called by comment::get_comments() and comment::add(). More...
 
 assignsubmission_comments_comment_permissions (stdClass $options)
 Permission control method for submission plugin -— required method for AJAXmoodle based comment API. More...
 
 assignsubmission_comments_comment_validate (stdClass $options)
 Callback method for data validation-— required method for AJAXmoodle based comment API. More...
 

Detailed Description

This file contains the moodle hooks for the submission comments plugin.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later