[ 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: | 324 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
GroupModel:: (8 methods):
__construct()
getTable()
getForm()
loadFormData()
preprocessForm()
save()
delete()
generateGroupTitle()
Class: GroupModel - X-Ref
User group model.__construct($config = array() X-Ref |
Override parent constructor. param: array $config An optional associative array of configuration settings. param: MVCFactoryInterface $factory The factory. |
getTable($type = 'Usergroup', $prefix = 'Joomla\\CMS\\Table\\', $config = array() X-Ref |
Returns a reference to the a Table object, always creating it. param: string $type The table type to instantiate param: string $prefix A prefix for the table class name. Optional. param: array $config Configuration array for model. Optional. return: Table A database object |
getForm($data = array() X-Ref |
Method to get the record form. param: array $data An optional array of data for the form to interrogate. param: boolean $loadData True if the form is to load its own data (default case), false if not. return: Form|bool A Form object on success, false on failure |
loadFormData() X-Ref |
Method to get the data that should be injected in the form. return: mixed The data for the form. |
preprocessForm(Form $form, $data, $group = '') X-Ref |
Override preprocessForm to load the user plugin group instead of content. 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 |
save($data) X-Ref |
Method to save the form data. param: array $data The form data. return: boolean True on success. |
delete(&$pks) X-Ref |
Method to delete rows. param: array &$pks An array of item ids. return: boolean Returns true on success, false on failure. |
generateGroupTitle($parentId, $title) X-Ref |
Method to generate the title of group on Save as Copy action param: integer $parentId The id of the parent. param: string $title The title of group return: string Contains the modified title. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |