[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2018 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 200 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
StagesModel:: (6 methods):
__construct()
populateState()
getReorderConditions()
getTable()
getListQuery()
getWorkflow()
Class: StagesModel - X-Ref
Model class for stages__construct($config = array() X-Ref |
Constructor. param: array $config An optional associative array of configuration settings. |
populateState($ordering = 's.ordering', $direction = 'ASC') 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 |
getReorderConditions($table) X-Ref |
A protected method to get a set of ordering conditions. param: object $table A record object. return: array An array of conditions to add to ordering queries. |
getTable($type = 'Stage', $prefix = 'Administrator', $config = array() X-Ref |
Method to get a table object, load it if necessary. param: string $type The table name. Optional. param: string $prefix The class prefix. Optional. param: array $config Configuration array for model. Optional. return: \Joomla\CMS\Table\Table A Table object |
getListQuery() X-Ref |
Method to get the data that should be injected in the form. return: string The query to database. |
getWorkflow() X-Ref |
Returns a workflow object return: object The workflow |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |