|
Moodle PHP Documentation 4.1
Moodle 4.1dev (Build: 20220512) (5e5e12e0)
|
Namespaces | |
| namespace | qbank_comment |
| | |
| namespace | qbank_comment\event |
| | |
| namespace | qbank_comment\output |
| | |
| namespace | qbank_comment\privacy |
| | |
Classes | |
| class | backup_qbank_comment_plugin |
| class | behat_qbank_comment |
| Steps definitions to deal with the commenting system in question. More... | |
| class | qbank_comment\comment_count_column |
| class | qbank_comment\event\comment_created |
| class | qbank_comment\event\comment_deleted |
| class | qbank_comment\output\renderer |
| class | qbank_comment\plugin_feature |
| class | qbank_comment\privacy\provider |
| class | restore_qbank_comment_plugin |
Functions | |
| qbank_comment_comment_display ($comments, $args) | |
| Validate comment data before displaying comments. More... | |
| qbank_comment_comment_permissions ($args) | |
| Running additional permission check on plugins. More... | |
| qbank_comment_comment_validate ($commentparam) | |
| Validate comment parameter before perform other comments actions. More... | |
| qbank_comment_output_fragment_question_comment ($args) | |
| Question comment fragment callback. More... | |
| qbank_comment_preview_display ($question, $courseid) | |
| Comment content for callbacks. More... | |
Variables | |
| $capabilities | |
| $plugin = 2022041200 | |
| $plugin | component = 'qbank_comment' |
| $plugin | maturity = MATURITY_STABLE |
| $plugin | version = 2022041900 |
| qbank_comment_comment_display | ( | $comments, | |
| $args | |||
| ) |
Validate comment data before displaying comments.
| array | $comments | |
| stdClass | $args |
| array::$comments |
| qbank_comment_comment_permissions | ( | $args | ) |
Running additional permission check on plugins.
| stdClass | $args |
| array |
| qbank_comment_comment_validate | ( | $commentparam | ) |
Validate comment parameter before perform other comments actions.
| stdClass | $commentparam | { context => context the context object courseid => int course id cm => stdClass course module object commentarea => string comment area itemid => int itemid } |
| boolean |
| qbank_comment_output_fragment_question_comment | ( | $args | ) |
Question comment fragment callback.
| array | $args |
| string | rendered output |
| qbank_comment_preview_display | ( | $question, | |
| $courseid | |||
| ) |
Comment content for callbacks.
| question_definition | $question | |
| int | $courseid |
| string |
| $capabilities |