[ 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: | 310 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
FormModel:: (7 methods):
populateState()
getItem()
getReturnPage()
save()
getForm()
preprocessForm()
getTable()
populateState() X-Ref |
Method to auto-populate the model state. Note. Calling getState in this method will result in recursion. return: void |
getItem($itemId = null) X-Ref |
Method to get article data. param: integer $itemId The id of the article. return: mixed Content item data object on success, false on failure. |
getReturnPage() X-Ref |
Get the return URL. return: string The return URL. |
save($data) X-Ref |
Method to save the form data. param: array $data The form data. return: boolean True on success. |
getForm($data = [], $loadData = true) X-Ref |
Method to get the record form. param: array $data Data for the form. param: boolean $loadData True if the form is to load its own data (default case), false if not. return: Form|boolean A Form object on success, false on failure |
preprocessForm(Form $form, $data, $group = 'content') X-Ref |
Allows preprocessing of the JForm object. param: Form $form The form object param: array $data The data to be merged into the form object param: string $group The plugin group to be executed return: void |
getTable($name = 'Article', $prefix = 'Administrator', $options = array() X-Ref |
Method to get a table object, load it if necessary. param: string $name The table name. Optional. param: string $prefix The class prefix. Optional. param: array $options Configuration array for model. Optional. return: Table A Table object |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |