[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/Model/ -> NoteModel.php (summary)

(no description)

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

Defines 1 class

NoteModel:: (4 methods):
  getForm()
  getItem()
  loadFormData()
  populateState()


Class: NoteModel  - X-Ref

User note model.

getForm($data = array()   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: \Joomla\CMS\Form\Form|bool  A Form object on success, false on failure

getItem($pk = null)   X-Ref
Method to get a single record.

param: integer  $pk  The id of the primary key.
return: mixed  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.

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

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

return: void



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