The HTML Menus Menu Item View.
- Depuis
- 3.8.0
◆ addXmlChild()
addXmlChild |
( |
|
$xml, |
|
|
|
$item |
|
) |
| |
|
protected |
Add a child node to the xml
- Paramètres
-
\SimpleXMLElement | $xml | The current XML node which would become the parent to the new node |
\stdClass | $item | The menuitem object to create the child XML node from |
- Renvoie
- void
- Depuis
- 3.8.0
Références $item, et $xml.
◆ display()
Display the view
- Paramètres
-
string | $tpl | The name of the template file to parse; automatically searches through the template paths. |
- Renvoie
- void
- Depuis
- 3.8.0
Execute and display a template script.
- Paramètres
-
string | $tpl | The name of the template file to parse; automatically searches through the template paths. |
- Renvoie
- mixed A string if successful, otherwise an Error object.
- Depuis
- 3.9.0
- Exceptions
-
Implémente ViewInterface.
Références $app, $item, $menutype, $root, $xml, Text\_(), Route\_(), Log\add(), Log\ERROR, Factory\getApplication(), MenusHelper\getMenuItems(), items, et Log\WARNING.
◆ $items
◆ $state
La documentation de cette classe a été générée à partir du fichier suivant :