Class MessagesModelConfig

Description

Message configuration model.

  • since: 1.6

Located in /administrator/components/com_messages/models/config.php (line 19)

JObject
   |
   --JModel
      |
      --JModelForm
         |
         --MessagesModelConfig
Method Summary
JForm getForm ([array $data = array()], [boolean $loadData = true])
mixed &getItem (integer 0)
void populateState ()
boolean save (array $data)
Variables
Methods
getForm (line 81)

Method to get the record form.

  • return: A JForm object on success, false on failure
  • since: 1.6
  • access: public
JForm getForm ([array $data = array()], [boolean $loadData = true])
  • array $data: Data for the form.
  • boolean $loadData: True if the form is to load its own data (default case), false if not.

Redefinition of:
JModelForm::getForm()
Abstract method for getting the form from the model.
getItem (line 47)

Method to get a single record.

  • return: Object on success, false on failure.
  • access: public
mixed &getItem (integer 0)
  • integer 0: The id of the primary key.
populateState (line 28)

Method to auto-populate the model state.

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

  • since: 1.6
  • access: protected
void populateState ()

Redefinition of:
JModel::populateState()
Method to auto-populate the model state.
save (line 98)

Method to save the form data.

  • return: True on success.
  • access: public
boolean save (array $data)
  • array $data: The form data.

Inherited Methods

Inherited From JModelForm

JModelForm::checkin()
JModelForm::checkout()
JModelForm::getForm()
JModelForm::loadForm()
JModelForm::loadFormData()
JModelForm::preprocessForm()
JModelForm::validate()

Inherited From JModel

JModel::__construct()
JModel::addIncludePath()
JModel::addTablePath()
JModel::cleanCache()
JModel::getDbo()
JModel::getInstance()
JModel::getName()
JModel::getState()
JModel::getTable()
JModel::populateState()
JModel::setDbo()
JModel::setState()
JModel::_createFileName()
JModel::_createTable()
JModel::_getList()
JModel::_getListCount()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 13:53:13 -0500 by phpDocumentor 1.4.4