◆ __construct()
core_contentbank\output\viewcontent::__construct |
( |
contenttype | $contenttype, |
|
|
content | $content ) |
Construct this renderable.
- Parameters
-
contenttype | $contenttype | Content bank content type. |
content | $content | Record of the contentbank_content table. |
◆ export_for_template()
core_contentbank\output\viewcontent::export_for_template |
( |
renderer_base | $output | ) |
|
Export this data so it can be used as the context for a mustache template.
- Parameters
-
- Return values
-
Implements templatable.
◆ get_edit_actions_dropdown()
core_contentbank\output\viewcontent::get_edit_actions_dropdown |
( |
| ) |
|
|
protected |
Get the content of the "More" dropdown in the tertiary navigation.
- Return values
-
array|null | The options to be displayed in a dropdown in the tertiary navigation |
- Exceptions
-
The documentation for this class was generated from the following file:
- contentbank/classes/output/viewcontent.php