[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2009 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 155 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CategoriesModel:: (4 methods):
populateState()
getStoreId()
getItems()
getParent()
Class: CategoriesModel - X-Ref
This models supports retrieving lists of article categories.populateState($ordering = null, $direction = null) X-Ref |
Method to auto-populate the model state. Note. Calling getState in this method will result in recursion. param: string $ordering The field to order on. param: string $direction The direction to order on. return: void |
getStoreId($id = '') X-Ref |
Method to get a store id based on model configuration state. This is necessary because the model is used by the component and different modules that might need different sets of data or different ordering requirements. param: string $id A prefix for the store id. return: string A store id. |
getItems($recursive = false) X-Ref |
Redefine the function and add some properties to make the styling easier param: bool $recursive True if you want to return children recursively. return: mixed An array of data items on success, false on failure. |
getParent() X-Ref |
Get the parent. return: object An array of data items on success, false on failure. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |