Class InstallerModelManage

Description

Installer Manage Model

  • since: 1.5

Located in /administrator/components/com_installer/models/manage.php (line 22)

JObject
   |
   --JModel
      |
      --JModelList
         |
         --InstallerModel
            |
            --InstallerModelManage
Method Summary
InstallerModelManage __construct ([array $config = array()])
mixed getForm ([array $data = array()], [boolean $loadData = true])
mixed loadFormData ()
void populateState ([ $ordering = null], [ $direction = null])
boolean publish ([ &$eid = array()], [ $value = 1])
boolean refresh (int $eid)
boolean remove ([array $eid = array()])
Variables
Methods
Constructor __construct (line 31)

Constructor.

InstallerModelManage __construct ([array $config = array()])
  • array $config: An optional associative array of configuration settings.

Redefinition of:
InstallerModel::__construct()
Constructor.
getForm (line 298)

Method to get the row form.

  • return: A JForm object on success, false on failure
  • since: 1.6
  • access: public
mixed 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.
getListQuery (line 248)

Method to get the database query

  • return: The database query
  • since: 1.6
  • access: protected
JDatabaseQuery getListQuery ()

Redefinition of:
JModelList::getListQuery()
Method to get a JDatabaseQuery object for retrieving the data set from a database.
loadFormData (line 328)

Method to get the data that should be injected in the form.

  • return: The data for the form.
  • since: 1.6
  • access: protected
mixed loadFormData ()
populateState (line 54)

Method to auto-populate the model state.

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

  • since: 1.6
  • access: protected
void populateState ([ $ordering = null], [ $direction = null])
  • $ordering
  • $direction

Redefinition of:
JModelList::populateState()
Method to auto-populate the model state.
publish (line 86)

Enable/Disable an extension.

  • return: True on success
  • since: 1.5
boolean publish ([ &$eid = array()], [ $value = 1])
  • &$eid
  • $value
refresh (line 143)

Refreshes the cached manifest information for an extension.

  • return: result of refresh
  • since: 1.6
boolean refresh (int $eid)
  • int $eid: extension identifier (key in #__extensions)
remove (line 171)

Remove (uninstall) an extension

  • return: True on success
  • since: 1.5
boolean remove ([array $eid = array()])
  • array $eid: An array of identifiers

Inherited Methods

Inherited From InstallerModel

InstallerModel::__construct()
InstallerModel::translate()
InstallerModel::_getList()

Inherited From JModelList

JModelList::__construct()
JModelList::getItems()
JModelList::getListQuery()
JModelList::getPagination()
JModelList::getStart()
JModelList::getStoreId()
JModelList::getTotal()
JModelList::getUserStateFromRequest()
JModelList::populateState()
JModelList::_getListQuery()

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:56:39 -0500 by phpDocumentor 1.4.4