|
Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
Class containing data for the content view. More...
Public Member Functions | |
| __construct (contenttype $contenttype, content $content) | |
| Construct this renderable. More... | |
| export_for_template (renderer_base $output) | |
| Export this data so it can be used as the context for a mustache template. More... | |
Class containing data for the content view.
| core_contentbank\output\viewcontent::__construct | ( | contenttype | $contenttype, |
| content | $content | ||
| ) |
Construct this renderable.
| contenttype | $contenttype | Content bank content type. |
| content | $content | Record of the contentbank_content table. |
| 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.
| renderer_base | $output |
| stdClass |
Implements templatable.