Support Joomla!

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2008 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 JInstallerComponent

Description

Component installer

  • since: 1.5

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

Class JObject   (Subpackage Base)

Class JInstallerComponent   (Subpackage Installer)
Method Summary
Constructor void __construct ( &$parent, object $parent)
Method boolean install ()
Method mixed uninstall ( $id, int $clientId, int $cid)
Method boolean _rollback_menu (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 for components

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

Custom uninstall method for components

  • return: Return value for uninstall method in component uninstall file
  • since: 1.0
  • access: public
mixed uninstall ( $id, int $clientId, int $cid)
  • int $cid: The id of the component to uninstall
  • int $clientId: The id of the client (unused)
  • $id
_rollback_menu (line 743)

Custom rollback method

  • Roll back the component menu item

  • return: True on success
  • since: 1.5
  • access: public
boolean _rollback_menu (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()

Documentation generated on Sat, 14 Nov 2009 11:11:33 +0000 by phpDocumentor 1.3.1