Renderer for block navigation.
More...
|
| navigation_node ($items, $attrs=array(), $expansionlimit=null, array $options=array(), $depth=1) |
| Produces a navigation node for the navigation tree.
|
|
Renderer for block navigation.
- Copyright
- 2009 Sam Hemelryk
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ navigation_node()
block_navigation_renderer::navigation_node |
( |
| $items, |
|
|
| $attrs = array(), |
|
|
| $expansionlimit = null, |
|
|
array | $options = array(), |
|
|
| $depth = 1 ) |
|
protected |
Produces a navigation node for the navigation tree.
- Parameters
-
navigation_node[] | $items | |
array | $attrs | |
int | $expansionlimit | |
array | $options | |
int | $depth | |
- Return values
-
◆ navigation_tree()
block_navigation_renderer::navigation_tree |
( |
global_navigation | $navigation, |
|
|
| $expansionlimit, |
|
|
array | $options = array() ) |
Returns the content of the navigation tree.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- blocks/navigation/renderer.php