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 JInstallerModule

Description

Module installer

  • since: 1.5

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

Class JObject   (Subpackage Base)

Class JInstallerModule   (Subpackage Installer)
Method Summary
Constructor void __construct ( &$parent, object $parent)
Method boolean install ()
Method boolean uninstall (int $id, int $clientId)
Method boolean _rollback_menu (array $arg)
Method boolean _rollback_module (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 271)

Custom uninstall method

  • return: True on success
  • since: 1.5
  • access: public
boolean uninstall (int $id, int $clientId)
  • int $id: The id of the module to uninstall
  • int $clientId: The id of the client (unused)
_rollback_menu (line 364)

Custom rollback method

  • Roll back the menu item

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

Custom rollback method

  • Roll back the module item

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