Class InstallerModelInstall

Description

Extension Manager Install Model

  • since: 1.5

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

JObject
   |
   --JModelLegacy
      |
      --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 36)

Model context string.

  • access: protected
object JTable $_table = null (line 24)
  • var: object
  • access: protected
object JTable $_url = null (line 29)
  • var: object
  • access: protected

Inherited Variables

Inherited from JModelLegacy

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

Inherited from JObject

JObject::$_errors
Methods
install (line 69)

Install an extension from either folder, url or upload.

  • return: result of install
  • since: 1.5
  • access: public
boolean install ()
populateState (line 47)

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:
JModelLegacy::populateState()
Method to auto-populate the model state.
_getPackageFromFolder (line 253)

Install an extension from a directory

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

Works out an installation package from a HTTP upload

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

Install an extension from a URL

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

Inherited Methods

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:05:38 +0100 by phpDocumentor 1.4.3