|
| __construct (bool $renderlater, string $buttoncontent, ?string $dropdowncontent=null, ?string $parentclasses=null, ?string $buttonclasses=null, ?string $dropdownclasses=null, ?string $buttonheader=null, ?bool $usebutton=true) |
| The class constructor.
|
|
| export_for_template (renderer_base $output) |
| Export the data for the mustache template.
|
|
| get_template () |
| Returns the standard template for the dropdown.
|
|
|
null string | $buttonclasses |
| $buttonclasses Any special classes to put on the HTMLElement that triggers the dropdown.
|
|
string | $buttoncontent |
| $buttoncontent What is the content of the "Button" that users will always see.
|
|
null string | $buttonheader |
| $buttonheader If the button item in the tertiary nav needs an extra top header for context.
|
|
null string | $dropdownclasses |
| $dropdownclasses Any special classes to put on the HTMLElement that contains the actual dropdown.
|
|
null string | $dropdowncontent |
| $dropdowncontent The content that can be passed in to render immediately.
|
|
null string | $parentclasses |
| $parentclasses Any special classes to put on the HTMLElement that contains the BS events.
|
|
bool | $renderlater |
| $renderlater Should the dropdown render straightaway?
|
|
boolean | $usesbutton |
| $usesbutton Whether to provide a A11y button.
|
|
◆ __construct()
core_grades\output\gradebook_dropdown::__construct |
( |
bool | $renderlater, |
|
|
string | $buttoncontent, |
|
|
?string | $dropdowncontent = null, |
|
|
?string | $parentclasses = null, |
|
|
?string | $buttonclasses = null, |
|
|
?string | $dropdownclasses = null, |
|
|
?string | $buttonheader = null, |
|
|
?bool | $usebutton = true ) |
The class constructor.
- Parameters
-
bool | $renderlater | How we figure out if we should render the template instantly. |
string | $buttoncontent | What gets placed in the button. |
?string | $dropdowncontent | What can be placed in the dropdown if we are rendering now. |
?string | $parentclasses | The classes that can be added that the bootstrap events are attached to. |
?string | $buttonclasses | Any special classes that may be needed. |
?string | $dropdownclasses | Any special classes that may be needed. |
?string | $buttonheader | If the button item in the tertiary nav needs an extra top header for context. |
bool | $usebutton | If we want the mustache to add the button roles for us or do we have another aria role node? |
- Exceptions
-
◆ export_for_template()
core_grades\output\gradebook_dropdown::export_for_template |
( |
renderer_base | $output | ) |
|
Export the data for the mustache template.
- Parameters
-
renderer_base | $output | renderer to be used to render the action bar elements. |
- Return values
-
Implements templatable.
◆ get_template()
core_grades\output\gradebook_dropdown::get_template |
( |
| ) |
|
Returns the standard template for the dropdown.
- Return values
-
The documentation for this class was generated from the following file:
- grade/classes/output/gradebook_dropdown.php