Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
|
Summary renderable class. More...
Public Member Functions | |
__construct ($user=null) | |
Constructor. | |
export_for_template (renderer_base $output) | |
Function to export the renderer data in a format that is suitable for a mustache template. | |
has_content () | |
Returns whether there is content in the summary. | |
Summary renderable class.
block_lp\output\summary::__construct | ( | $user = null | ) |
Constructor.
stdClass | $user | The user. |
block_lp\output\summary::export_for_template | ( | renderer_base | $output | ) |
Function to export the renderer data in a format that is suitable for a mustache template.
This means:
renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
stdClass|array |
Implements templatable.
block_lp\output\summary::has_content | ( | ) |
Returns whether there is content in the summary.
boolean |