[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2016 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 464 lines (17 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FieldsModel:: (7 methods):
__construct()
populateState()
getStoreId()
getListQuery()
_getList()
getFilterForm()
getGroups()
Class: FieldsModel - X-Ref
Fields Model__construct($config = array() X-Ref |
Constructor param: array $config An array of configuration options (name, state, dbo, table_path, ignore_request). param: MVCFactoryInterface $factory The factory. |
populateState($ordering = null, $direction = null) X-Ref |
Method to auto-populate the model state. This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the model configuration flag to ignore the request is set. 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 the 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 An identifier string to generate the store id. return: string A store id. |
getListQuery() X-Ref |
Method to get a DatabaseQuery object for retrieving the data set from a database. return: \Joomla\Database\DatabaseQuery A DatabaseQuery object to retrieve the data set. |
_getList($query, $limitstart = 0, $limit = 0) X-Ref |
No description |
getFilterForm($data = array() X-Ref |
Get the filter form param: array $data data param: boolean $loadData load current data return: \Joomla\CMS\Form\Form|bool the Form object or false |
getGroups() X-Ref |
Get the groups for the batch method return: array An array of groups |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |