NavigationEntryTemplate
in package
Implement navigation entry template object
This class provides general interfaces to handle navigation template renderings.
Tags
Table of Contents
- $_raw : string
- $attributes : array<string|int, mixed>
- $nodes : array<string|int, mixed>
- __construct() : mixed
- Entry constructor.
- ActiveClass() : mixed
- Level() : array<string|int, mixed>
- Nodes() : array<string|int, mixed>
- The nodes with attributes A set of nodes with enriched attributes from template root
- OpenClass() : mixed
- Raw() : string
Properties
$_raw
private
string
$_raw
$attributes
private
array<string|int, mixed>
$attributes
= array()
$nodes
private
array<string|int, mixed>
$nodes
= array()
Methods
__construct()
Entry constructor.
public
__construct(string $raw) : mixed
Parameters
- $raw : string
-
The parse result
Return values
mixed —ActiveClass()
public
ActiveClass() : mixed
Return values
mixed —Level()
public
Level() : array<string|int, mixed>
Return values
array<string|int, mixed> —Nodes()
The nodes with attributes A set of nodes with enriched attributes from template root
public
Nodes() : array<string|int, mixed>
Return values
array<string|int, mixed> —OpenClass()
public
OpenClass() : mixed
Return values
mixed —Raw()
public
Raw() : string