Class JInstallerAdapterPlugin

Description

Plugin installer

  • since: 3.1

Located in /libraries/cms/installer/adapter/plugin.php (line 22)

JObject
   |
   --JAdapterInstance
      |
      --JInstallerAdapterPlugin
Direct descendents
Class Description
 class JInstallerPlugin Deprecated class placeholder. You should use JInstallerAdapterPlugin instead.
Variable Summary
 SimpleXMLElement $manifest
 string $name
 object $oldFiles
 string $route
Method Summary
 array discover ()
 mixed discover_install ()
 boolean install ()
 void loadLanguage ([string $path = null])
 boolean uninstall (integer $id)
 boolean update ()
Variables
SimpleXMLElement $manifest = null (line 38)

The installation manifest XML object

  • since: 3.1
  • access: protected
string $manifest_script = null (line 47)

A path to the PHP file that the scriptfile declaration in the manifest refers to.

  • since: 3.1
  • access: protected
string $name = null (line 55)

Name of the extension

  • since: 3.1
  • access: protected
object $oldFiles = null (line 71)

<files> element of the old extension manifest

  • since: 3.1
  • access: protected
string $route = 'install' (line 30)

Install function routing

  • since: 3.1
  • access: protected
object $scriptElement = null (line 63)

<scriptfile> element of the extension manifest

  • since: 3.1
  • access: protected

Inherited Variables

Inherited from JAdapterInstance

JAdapterInstance::$db
JAdapterInstance::$parent

Inherited from JObject

JObject::$_errors
Methods
discover (line 753)

Custom discover method

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

Custom discover_install method.

  • since: 3.1
  • access: public
mixed discover_install ()
install (line 133)

Custom install method

  • return: True on success
  • since: 3.1
  • access: public
boolean install ()
loadLanguage (line 82)

Custom loadLanguage method

  • since: 3.1
  • access: public
void loadLanguage ([string $path = null])
  • string $path: The path where to find language files.
refreshManifestCache (line 882)

Refreshes the extension table cache.

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

Custom uninstall method

  • return: True on success
  • since: 3.1
  • access: public
boolean uninstall (integer $id)
  • integer $id: The id of the plugin to uninstall
update (line 570)

Custom update method

  • return: True on success
  • since: 3.1
  • access: public
boolean update ()

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()

Documentation generated on Tue, 19 Nov 2013 15:10:48 +0100 by phpDocumentor 1.4.3