XOOPS  2.6.0
MenusBuilder Class Reference

Public Member Functions

 __construct ($array)
 
 add ($item)
 
 addMenu ($array)
 
 addSelectedParents ($pid)
 
 buildMenus ($pid=0)
 
 buildSelected ()
 
 buildUpDown ($pid=0)
 
 render ()
 

Protected Attributes

 $output = array()
 
 $parents = array()
 

Detailed Description

Definition at line 20 of file builder.php.

Constructor & Destructor Documentation

MenusBuilder::__construct (   $array)
Parameters
array$array

Definition at line 35 of file builder.php.

References addMenu().

Here is the call graph for this function:

Member Function Documentation

MenusBuilder::add (   $item)
Parameters
$item

Definition at line 53 of file builder.php.

Referenced by addMenu().

Here is the caller graph for this function:

MenusBuilder::addMenu (   $array)
Parameters
array$array

Definition at line 43 of file builder.php.

References add().

Referenced by __construct().

Here is the call graph for this function:

Here is the caller graph for this function:

MenusBuilder::addSelectedParents (   $pid)
Parameters
int$pid

Definition at line 181 of file builder.php.

References $menu, and $pid.

Referenced by buildSelected().

Here is the caller graph for this function:

MenusBuilder::buildMenus (   $pid = 0)
Parameters
int$pid

Definition at line 61 of file builder.php.

References $pid.

Referenced by render().

Here is the caller graph for this function:

MenusBuilder::buildSelected ( )

Definition at line 132 of file builder.php.

References $_SERVER, $menu, $sel, addSelectedParents(), and XoopsBaseConfig\get().

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

MenusBuilder::buildUpDown (   $pid = 0)
Parameters
int$pid

Definition at line 102 of file builder.php.

References $count, and $pid.

Referenced by render().

Here is the caller graph for this function:

MenusBuilder::render ( )
Returns
array

Definition at line 194 of file builder.php.

References $output, buildMenus(), buildSelected(), and buildUpDown().

Here is the call graph for this function:

Member Data Documentation

MenusBuilder::$output = array()
protected

Definition at line 30 of file builder.php.

Referenced by render().

MenusBuilder::$parents = array()
protected

Definition at line 25 of file builder.php.


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