|
|
| __construct (private stdClass $course, private url $resetlink, private ?int $userid=null, private ?int $groupid=null, private string $usersearch='', private ?int $instanceid=null) |
| | The class constructor.
|
| |
| | export_for_template (renderer_base $output) |
| | Function to export the renderer data in a format that is suitable for a mustache template.
|
| |
| | get_template_name (renderer_base $renderer) |
| | Get the name of the template to use for this templatable.
|
| |
◆ export_for_template()
| core_course\output\actionbar\user_selector_button::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 core\output\templatable.
◆ get_template_name()
| core_course\output\actionbar\user_selector_button::get_template_name |
( |
renderer_base | $renderer | ) |
|
Get the name of the template to use for this templatable.
- Parameters
-
| renderer_base | $renderer | The renderer requesting the template name |
- Return values
-
Implements core\output\named_templatable.
The documentation for this class was generated from the following file:
- course/classes/output/actionbar/user_selector_button.php