[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_config/src/Model/ -> TemplatesModel.php (summary)

(no description)

Copyright: (C) 2013 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 123 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

TemplatesModel:: (3 methods):
  populateState()
  getForm()
  preprocessForm()


Class: TemplatesModel  - X-Ref

Template style model.

populateState()   X-Ref
Method to auto-populate the model state.

Note. Calling getState in this method will result in recursion.

return: null

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 JForm object on success, false on failure

preprocessForm(Form $form, $data, $group = 'content')   X-Ref
Method to preprocess the form

param: Form    $form   A form object.
param: mixed   $data   The data expected for the form.
param: string  $group  Plugin group to load
return: void



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer