Summary renderable class.
More...
Summary renderable class.
- Copyright
- 2016 Frédéric Massart - FMCorz.net
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
block_lp\output\summary::__construct |
( |
|
$user = null | ) |
|
◆ export_for_template()
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:
- No complex types - only stdClass, array, int, string, float, bool
- Any additional info that is required for the template is pre-calculated (e.g. capability checks).
- Parameters
-
renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
- Return values
-
Implements templatable.
◆ has_content()
block_lp\output\summary::has_content |
( |
| ) |
|
Returns whether there is content in the summary.
- Return values
-
The documentation for this class was generated from the following file: