Class InstallerModelInstall

Description

Extension Manager Install Model

  • since: 1.5

Located in /administrator/components/com_installer/models/install.php (line 23)

JObject
   |
   --JModel
      |
      --InstallerModelInstall
Variable Summary
string $_context
object JTable $_table
object JTable $_url
Method Summary
boolean install ()
void populateState ()
Package _getPackageFromUrl ()
Variables
string $_context = 'com_installer.install' (line 40)

Model context string.

  • access: protected
object JTable $_table = null (line 28)
  • var: object
  • access: protected
object JTable $_url = null (line 33)
  • var: object
  • access: protected

Inherited Variables

Inherited from JModel

JModel::$event_clean_cache
JModel::$name
JModel::$option
JModel::$state
JModel::$_db
JModel::$__state_set

Inherited from JObject

JObject::$_errors
Methods
install (line 71)

Install an extension from either folder, url or upload.

  • return: result of install
  • since: 1.5
boolean install ()
populateState (line 49)

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.
_getPackageFromFolder (line 196)

Install an extension from a directory

  • return: details or false on failure
  • since: 1.5
  • access: protected
Package _getPackageFromFolder ()
_getPackageFromUpload (line 146)

Works out an installation package from a HTTP upload

  • return: definition or false on failure
  • access: protected
package _getPackageFromUpload ()
_getPackageFromUrl (line 231)

Install an extension from a URL

  • return: details or false on failure
  • since: 1.5
  • access: protected
Package _getPackageFromUrl ()

Inherited Methods

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:55:51 -0500 by phpDocumentor 1.4.4