Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core\navigation\output\more_menu Class Reference
Inheritance diagram for core\navigation\output\more_menu:
renderable templatable

Public Member Functions

 __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.
 

Protected Attributes

 $content
 
 $haschildren
 
 $istablist
 
 $navbarstyle
 

Detailed Description

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

core\navigation\output\more_menu::__construct ( object $content,
string $navbarstyle,
bool $haschildren = true,
bool $istablist = false )

Constructor for this class.

Parameters
object$contentNavigation objects.
string$navbarstyleclass name.
bool$haschildrenThe content has children.
bool$istablistWhen 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.

Member Function Documentation

◆ export_for_template()

core\navigation\output\more_menu::export_for_template ( renderer_base $output)

Return data for rendering a template.

Parameters
renderer_base$outputThe output
Return values
arrayData for rendering a template

Implements templatable.


The documentation for this class was generated from the following file: