Class JInstallerModule

Description

Module installer

  • since: 11.1

Located in /libraries/joomla/installer/adapters/module.php (line 21)

JObject
   |
   --JAdapterInstance
      |
      --JInstallerModule
Variable Summary
Method Summary
array discover ()
mixed discover_install ()
boolean install ()
void loadLanguage ([string $path = null])
boolean uninstall (integer $id)
boolean update ()
boolean _rollback_menu (array $arg)
boolean _rollback_module (array $arg)
Variables
$element = null (line 55)
  • since: 11.1
  • access: protected
$manifest = null (line 35)
  • since: 11.1
  • access: protected
$manifest_script = null (line 41)
  • since: 11.1
  • access: protected
$name = null (line 49)

Extension name

  • since: 11.1
  • access: protected
string $route = 'Install' (line 29)

Install function routing

  • since: 11.1
  • access: protected
string $scriptElement = null (line 61)
  • since: 11.1
  • access: protected

Inherited Variables

Inherited from JAdapterInstance

JAdapterInstance::$db
JAdapterInstance::$parent

Inherited from JObject

JObject::$_errors
Methods
discover (line 570)

Custom discover method

  • return: JExtension list of extensions available
  • since: 11.1
  • access: public
array discover ()
discover_install (line 614)

Custom discover_install method

  • return: Extension ID on success, boolean false on failure
  • since: 11.1
  • access: public
mixed discover_install ()
install (line 131)

Custom install method

  • return: True on success
  • since: 11.1
  • access: public
boolean install ()
loadLanguage (line 72)

Custom loadLanguage method

  • since: 11.1
  • access: public
void loadLanguage ([string $path = null])
  • string $path: The path where we find language files
refreshManifestCache (line 659)

Refreshes the extension table cache

  • return: Result of operation, true if updated, false on failure.
  • since: 11.1
  • access: public
boolean refreshManifestCache ()
uninstall (line 690)

Custom uninstall method

  • return: True on success
  • since: 11.1
  • access: public
boolean uninstall (integer $id)
  • integer $id: The id of the module to uninstall
update (line 551)

Custom update method

This is really a shell for the install system

  • return: True on success.
  • since: 11.1
  • access: public
boolean update ()
_rollback_menu (line 899)

Custom rollback method

  • Roll back the menu item

  • return: True on success
  • since: 11.1
  • access: protected
boolean _rollback_menu (array $arg)
  • array $arg: Installation step to rollback
_rollback_module (line 928)

Custom rollback method

  • Roll back the module item

  • return: True on success
  • since: 11.1
  • access: protected
boolean _rollback_module (array $arg)
  • array $arg: Installation step to rollback

Inherited Methods

Inherited From JAdapterInstance

JAdapterInstance::__construct()
JAdapterInstance::getParent()

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:57:34 -0500 by phpDocumentor 1.4.4