|
| | __construct (object $content, string $navbarstyle, bool $haschildren=true, bool $istablist=false) |
| | Constructor for this class.
|
| |
| | export_for_template (renderer_base $output) |
| | Return data for rendering a template.
|
| |
|
|
| $content |
| |
|
| $haschildren |
| |
|
| $istablist |
| |
|
| $navbarstyle |
| |
- Copyright
- 2021 onwards Adrian Greeve
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| core\navigation\output\more_menu::__construct |
( |
object | $content, |
|
|
string | $navbarstyle, |
|
|
bool | $haschildren = true, |
|
|
bool | $istablist = false ) |
Constructor for this class.
- Parameters
-
| object | $content | Navigation objects. |
| string | $navbarstyle | class name. |
| bool | $haschildren | The content has children. |
| bool | $istablist | When true, the more menu should be rendered and behave with a tablist ARIA role. If false, it's rendered with a menubar ARIA role. Defaults to false. |
◆ export_for_template()
| core\navigation\output\more_menu::export_for_template |
( |
renderer_base | $output | ) |
|
Return data for rendering a template.
- Parameters
-
| renderer_base | $output | The output |
- Return values
-
| array | Data for rendering a template |
The documentation for this class was generated from the following file:
- lib/classes/navigation/output/more_menu.php