Class InstallerModelManage

Description

Installer Manage Model

  • since: 1.5

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

JObject
   |
   --JModelLegacy
      |
      --JModelList
         |
         --InstallerModel
            |
            --InstallerModelManage
Method Summary
 InstallerModelManage __construct ([array $config = array()])
 void populateState ([string $ordering = null], [string $direction = null])
 boolean publish ([array &$eid = array()], [int $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.
getListQuery (line 280)

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.
populateState (line 53)

Method to auto-populate the model state.

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

  • since: 1.6
  • access: protected
void populateState ([string $ordering = null], [string $direction = null])
  • string $ordering: An optional ordering field.
  • string $direction: An optional direction (asc|desc).

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

Enable/Disable an extension.

  • return: True on success
  • since: 1.5
  • access: public
boolean publish ([array &$eid = array()], [int $value = 1])
  • array &$eid: Extension ids to un/publish
  • int $value: Publish value
refresh (line 158)

Refreshes the cached manifest information for an extension.

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

Remove (uninstall) an extension

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

Inherited Methods

Inherited From InstallerModel

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

Inherited From JModelList

 JModelList::__construct()
 JModelList::getActiveFilters()
 JModelList::getFilterForm()
 JModelList::getItems()
 JModelList::getListQuery()
 JModelList::getPagination()
 JModelList::getStart()
 JModelList::getStoreId()
 JModelList::getTotal()
 JModelList::getUserStateFromRequest()
 JModelList::loadForm()
 JModelList::loadFormData()
 JModelList::populateState()
 JModelList::preprocessForm()
 JModelList::_getListQuery()

Inherited From JModelLegacy

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

Inherited From JObject

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

Documentation generated on Tue, 19 Nov 2013 15:07:33 +0100 by phpDocumentor 1.4.3