Joomla! 1.5 API

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2011 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JInstallerPlugin

Description

Plugin installer

  • since: 1.5

Located in /joomla/installer/adapters/plugin.php (line 25)

Class JObject   (Subpackage Base)

Class JInstallerPlugin   (Subpackage Installer)
Method Summary
Constructor void __construct ( &$parent, object $parent)
Method boolean install ()
Method boolean uninstall ( $id, int $clientId, int $cid)
Method boolean _rollback_plugin (array $arg)
Variables

Inherited Variables

Inherited from JObject

Variable JObject::$_errors
Methods
Constructor __construct (line 35)

Constructor

  • since: 1.5
  • access: protected
void __construct ( &$parent, object $parent)
  • object $parent: Parent object [JInstaller instance]
  • &$parent

Redefinition of:
JObject::__construct()
Class constructor, overridden in descendant classes.
install (line 47)

Custom install method

  • return: True on success
  • since: 1.5
  • access: public
boolean install ()
uninstall (line 220)

Custom uninstall method

  • return: True on success
  • since: 1.5
  • access: public
boolean uninstall ( $id, int $clientId, int $cid)
  • int $cid: The id of the plugin to uninstall
  • int $clientId: The id of the client (unused)
  • $id
_rollback_plugin (line 309)

Custom rollback method

  • Roll back the plugin item

  • return: True on success
  • since: 1.5
  • access: public
boolean _rollback_plugin (array $arg)
  • array $arg: Installation step to rollback

Inherited Methods

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getError()
 JObject::getErrors()
 JObject::getProperties()
 JObject::getPublicProperties()
 JObject::set()
 JObject::setError()
 JObject::setProperties()
 JObject::toString()
Support Joomla!