[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/components/com_privacy/src/Model/ -> RequestModel.php (summary)

(no description)

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

Defines 1 class

RequestModel:: (5 methods):
  createRequest()
  getForm()
  getTable()
  populateState()
  getActionlogModel()


Class: RequestModel  - X-Ref

Request model class.

createRequest($data)   X-Ref
Creates an information request.

param: array  $data  The data expected for the form.
return: mixed  Exception | boolean

getForm($data = [], $loadData = true)   X-Ref
Method for getting the form from the model.

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

getTable($name = 'Request', $prefix = 'Administrator', $options = [])   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

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

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

return: void

getActionlogModel()   X-Ref
Method to fetch an instance of the action log model.

return: ActionlogModel



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