Class JInstallerModule

Description

Module installer

Located in /installer/installer/module.php (line 21)

JObject
   |
   --JInstaller
      |
      --JInstallerModule
Method Summary
 boolean install (string $p_fromdir)
 boolean uninstall (mixed $id, int $client, int $cid)
 mixed _createTemplatePosition (string $position)
 boolean _rollback_menu (array $arg)
 boolean _rollback_module (array $arg)
 boolean _rollback_position (array $arg)
Variables
Methods
install (line 31)

Custom install method

  • return: True on success
  • since: 1.1
  • access: public
boolean install (string $p_fromdir)
  • string $p_fromdir: Directory from which to install the module

Redefinition of:
JInstaller::install()
Abstract install method
  • override in child class
uninstall (line 277)

Custom uninstall method

  • return: True on success
  • since: 1.1
  • access: public
boolean uninstall (mixed $id, int $client, int $cid)
  • int $cid: The id of the module to uninstall
  • int $client: The client id

Redefinition of:
JInstaller::uninstall()
Abstract uninstall method
  • override in child class
_createTemplatePosition (line 401)

Creates a new template position if it doesn't exist already

  • return: Template position id (int) if a position was inserted or boolean false otherwise
  • since: 1.1
  • static:
mixed _createTemplatePosition (string $position)
  • string $position: Template position to create
_rollback_menu (line 433)

Custom rollback method

  • Roll back the menu item

  • return: True on success
  • since: 1.1
  • access: private
boolean _rollback_menu (array $arg)
  • array $arg: Installation step to rollback
_rollback_module (line 485)

Custom rollback method

  • Roll back the module item

  • return: True on success
  • since: 1.1
  • access: private
boolean _rollback_module (array $arg)
  • array $arg: Installation step to rollback
_rollback_position (line 459)

Custom rollback method

  • Roll back the template position item

  • return: True on success
  • since: 1.1
  • access: private
boolean _rollback_position (array $arg)
  • array $arg: Installation step to rollback

Inherited Methods

Inherited From JInstaller

 JInstaller::__construct()
 JInstaller::getInstance()
 JInstaller::install()
 JInstaller::preInstallCheck()
 JInstaller::uninstall()
 JInstaller::update()
 JInstaller::_copyFiles()
 JInstaller::_copyInstallFile()
 JInstaller::_findInstallFile()
 JInstaller::_getParams()
 JInstaller::_isPackageFile()
 JInstaller::_mapClient()
 JInstaller::_parseBackwardQueries()
 JInstaller::_parseFiles()
 JInstaller::_parseQueries()
 JInstaller::_readInstallFile()
 JInstaller::_removeFiles()
 JInstaller::_rollback()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:24:30 +0100 by phpDocumentor 1.3.0RC4