|
Moodle PHP Documentation 5.0
Moodle 5.0.1+ (Build: 20250711) (61af040cd5f)
|
Namespaces | |
| namespace | core_block\external |
| | |
| namespace | core_block\navigation\views |
| | |
| namespace | core_block\output |
| | |
| namespace | core_block\privacy |
| | |
Classes | |
| class | behat_blocks |
| Blocks management steps definitions. More... | |
| class | block_base |
| Class for describing a moodle block, all Moodle blocks derive from this class. More... | |
| class | block_edit_form |
| class | block_list |
| Specialized class for displaying a block with a list of icons/text labels. More... | |
| class | block_tree |
| Specialized class for displaying a tree menu. More... | |
| class | core_block\external\fetch_addable_blocks |
| class | core_block\navigation\views\secondary |
| class | core_block\output\block_contents |
| class | core_block\output\block_move_target |
| class | core_block\privacy\provider |
| Data provider class. More... | |
| class | core_block_external |
| Blocks external functions. More... | |
Variables | |
| const | BLOCK_TYPE_LIST 1 |
| Constants. | |
| const | BLOCK_TYPE_TEXT 2 |
| Block type of text. | |
| const | BLOCK_TYPE_TREE 3 |
| Block type of tree. | |
| const BLOCK_TYPE_LIST 1 |
Constants.
Block type of list. Contents of block should be set as an associative array in the content object as items ($this->content->items). Optionally include footer text in $this->content->footer.
| const BLOCK_TYPE_TEXT 2 |
Block type of text.
Contents of block should be set to standard html text in the content object as items ($this->content->text). Optionally include footer text in $this->content->footer.
| const BLOCK_TYPE_TREE 3 |
Block type of tree.
$this->content->items is a list of tree_item objects and $this->content->footer is a string.