Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Directories | |
directory | backup |
| |
Namespaces | |
namespace | qbank_comment |
| |
namespace | qbank_comment\event |
| |
namespace | qbank_comment\output |
| |
namespace | qbank_comment\privacy |
| |
Classes | |
class | backup_qbank_comment_plugin |
Provides the information to backup question comments. More... | |
class | behat_qbank_comment |
Commenting system steps definitions for question. More... | |
class | qbank_comment\comment_count_column |
A column to show the number of comments. More... | |
class | qbank_comment\event\comment_created |
qbank_comment comment created event. More... | |
class | qbank_comment\event\comment_deleted |
qbank_comment comment deleted event. More... | |
class | qbank_comment\event\question_deleted_observer |
Event observer for question deletion. More... | |
class | qbank_comment\output\renderer |
Class renderer for comment. More... | |
class | qbank_comment\plugin_feature |
Class plugin_features is the entrypoint for the columns. More... | |
class | qbank_comment\privacy\provider |
Privacy Subsystem for qbank_comment. More... | |
class | restore_qbank_comment_plugin |
Restore plugin class that provides the necessary information needed to restore comments for questions. More... | |
Functions | |
qbank_comment_comment_display ($comments, $args) | |
Validate comment data before displaying comments. | |
qbank_comment_comment_permissions ($args) | |
Running additional permission check on plugins. | |
qbank_comment_comment_validate ($commentparam) | |
Validate comment parameter before perform other comments actions. | |
qbank_comment_output_fragment_question_comment ($args) | |
Question comment fragment callback. | |
qbank_comment_preview_display ($question, $courseid) | |
Comment content for callbacks. | |
Variables | |
$capabilities | |
$observers | |
$plugin = 2023100400 | |
$plugin | component = 'qbank_comment' |
$plugin | maturity = MATURITY_STABLE |
$plugin | version = 2023100900 |
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 |
$observers |