This is the "common" class of the PHP Layers Menu library.
You need to include PEAR.php and DB.php if (and only if) you want to use the DB support provided by ths class.
Located in /smarty/plugins/menuLayer/lib/layersmenu-common.inc.php (line 17)
Class | Description |
---|---|
TreeMenu | This is the TreeMenu class of the PHP Layers Menu library. |
PHPTreeMenu | This is the PHPTreeMenu class of the PHP Layers Menu library. |
LayersMenu | This is the LayersMenu class of the PHP Layers Menu library. |
PlainMenu | This is the PlainMenu class of the PHP Layers Menu library. |
ProcessLayersMenu | This is an extension of the "common" class of the PHP Layers Menu library. |
The constructor method; it initializates the menu system
The method to parse the current menu structure and correspondingly update related variables
A method to replace strings in all URLs (hrefs) of a menu
The method to parse the current menu table and correspondingly update related variables
The method to set parameters for the DB connection
The method to set the dirroot directory
The method to set the icondir directory
The method to set the iconsize array
The method to set iconwww
The method to set the imgdir directory
The method to set imgwww
The method to set the libjsdir directory
A method to set the same target for all links of a menu
The method to read the menu structure from a file
The method to set the menu structure passing it through a string
The method to set the prepended URL
A method to select the current item of $menu_name in terms of $cnt, i.e., very likely, in terms of its line number in the corresponding menu structure file (excluding from the count commented out lines, if any)
A method to select the current item of $menu_name in terms of the corresponding id (see the DB table structure); obviously, this method can be used only together with the DB support
A method to select the current item of $menu_name specifying a string that occurs in the current URL
A method to select the current item of $menu_name specifying a regular expression that matches (a substring of) the current URL; just the same as the setSelectedItemByUrl() method, but using eregi() instead of strpos()
The method to set the value of separator
The method to set names of fields of the table storing data describing the menu
The method to set names of fields of the i18n table corresponding to $tableName
The method to set the name of the table storing data describing the menu
The method to set the name of the i18n table corresponding to $tableName
The method to set the tpldir directory
The method to unset the iconsize array
Documentation generated on Wed, 05 Oct 2011 10:36:40 +0200 by phpDocumentor 1.4.1