Class JInstallerTemplate

Description

Template installer

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

JObject
   |
   --JInstaller
      |
      --JInstallerTemplate
Method Summary
 boolean install (string $p_fromdir)
 boolean uninstall (int $id, int $client)
 mixed _createTemplatePosition (string $position)
 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 template

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

Custom uninstall method

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

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

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
  • access: private
mixed _createTemplatePosition (string $position)
  • string $position: Template position to create
_rollback_position (line 279)

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:27:00 +0100 by phpDocumentor 1.3.0RC4