[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2007 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 282 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
SiteMenu:: (4 methods):
__construct()
load()
getItems()
getDefault()
__construct($options = array() X-Ref |
Class constructor param: array $options An array of configuration options. |
load() X-Ref |
Loads the entire menu table into memory. return: boolean True on success, false on failure |
getItems($attributes, $values, $firstonly = false) X-Ref |
Gets menu items by attribute param: string $attributes The field name param: string $values The value of the field param: boolean $firstonly If true, only returns the first item found return: MenuItem|MenuItem[] An array of menu item objects or a single object if the $firstonly parameter is true |
getDefault($language = '*') X-Ref |
Get menu item by id param: string $language The language code. return: MenuItem|null The item object or null when not found for given language |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |