[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 308 lignes (11 kb) |
Inclus ou requis: | 1 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Menu:: (8 méthodes):
Menu()
add()
addArray()
setPosition()
render()
addAppLinks()
addSiteLinks()
isSelected()
Menu($mask = HORDE_MENU_MASK_ALL) X-Ref |
Constructor |
add($url, $text, $icon = '', $icon_path = null,$target = '', $onclick = null, $class = null) X-Ref |
Add an item to the menu array. param: string $url String containing the value for the hyperlink. param: string $text String containing the label for this menu param: string $icon String containing the filename of the image param: string $icon_path If the icon lives in a non-default directory, param: string $target If the link needs to open in another frame or param: string $onclick Onclick javascript, if desired. param: string $class CSS class for the menu item. return: integer The id (NOT guaranteed to be an array index) of the |
addArray($item) X-Ref |
Add an item to the menu array. param: string $url String containing the value for the hyperlink. param: string $text String containing the label for this menu param: string $icon String containing the filename of the image param: string $icon_path If the icon lives in a non-default directory, param: string $target If the link needs to open in another frame or param: string $onclick Onclick javascript, if desired. param: string $class CSS class for the menu item. return: integer The id (NOT guaranteed to be an array index) of the item |
setPosition($id, $pos) X-Ref |
Pas de description |
render() X-Ref |
Return the unordered list representing the list of menu items. Styling is done through CSS. return: string An unordered list of menu elements that can be entirely |
addAppLinks() X-Ref |
Any links to other Horde applications defined in an application's config file by the $conf['menu']['apps'] array are added to the menu array. |
addSiteLinks() X-Ref |
Add any other links found in $this->_menufile to be included in the menu. |
isSelected($url) X-Ref |
Checks to see if the current url matches the given url. return: boolean Whether the given URL is the current location. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |