Competency lib.
Copyright: | 2016 Frédéric Massart - FMCorz.net |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 316 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_competency_comment_add($comment, $params) X-Ref |
Hook when a comment is added. return: array param: stdClass $comment The comment. param: stdClass $params The parameters. |
core_competency_comment_permissions($params) X-Ref |
Return the permissions of for the comments. return: array param: stdClass $params The parameters. |
core_competency_comment_validate($params) X-Ref |
Validates comments. return: bool param: stdClass $params The parameters. |
core_competency_pluginfile($course, $cm, $context, $filearea, $args, $forcedownload, array $options = array() X-Ref |
File serving. return: void|false param: stdClass $course The course object. param: stdClass $cm The cm object. param: context $context The context object. param: string $filearea The file area. param: array $args List of arguments. param: bool $forcedownload Whether or not to force the download of the file. param: array $options Array of options. |