Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Class containing data for bank content. More...
Public Member Functions | |
__construct (array $contents, array $toolbar, context $context=null) | |
Construct this renderable. More... | |
export_for_template (renderer_base $output) | |
Export the data. More... | |
Class containing data for bank content.
core_contentbank\output\bankcontent::__construct | ( | array | $contents, |
array | $toolbar, | ||
context | $context = null |
||
) |
Construct this renderable.
core_contentbank::content[] | $contents | Array of content bank contents. |
array | $toolbar | List of content bank toolbar options. |
context | $context | Optional context to check (default null) |
core_contentbank\output\bankcontent::export_for_template | ( | renderer_base | $output | ) |