[ 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: | 589 lines (23 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ItemsModel:: (7 methods):
__construct()
populateState()
getStoreId()
getListQuery()
preprocessForm()
getMenu()
getItems()
Class: ItemsModel - X-Ref
Menu Item List Model for Menus.__construct($config = array() X-Ref |
Constructor. param: array $config An optional associative array of configuration settings. param: MVCFactoryInterface $factory The factory. |
populateState($ordering = 'a.lft', $direction = 'asc') X-Ref |
Method to auto-populate the model state. Note. Calling getState in this method will result in recursion. param: string $ordering An optional ordering field. param: string $direction An optional direction (asc|desc). 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. |
getListQuery() X-Ref |
Builds an SQL query to load the list data. return: \Joomla\Database\DatabaseQuery A query object. |
preprocessForm(Form $form, $data, $group = 'content') X-Ref |
Method to allow derived classes to preprocess the form. param: Form $form A Form object. param: mixed $data The data expected for the form. param: string $group The name of the plugin group to import (defaults to "content"). return: void |
getMenu($menuType, $check = false) X-Ref |
Get the client id for a menu param: string $menuType The menutype identifier for the menu param: boolean $check Flag whether to perform check against ACL as well as existence return: integer |
getItems() X-Ref |
Method to get an array of data items. return: mixed 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 |