Class JInstallerTemplate

Description

Template installer

  • since: 11.1

Located in /libraries/joomla/installer/adapters/template.php (line 22)

JObject
   |
   --JAdapterInstance
      |
      --JInstallerTemplate
Variable Summary
mixed $element
mixed $name
mixed $route
Method Summary
array discover ()
boolean discover_install ()
boolean install ()
JInstallerTemplate loadLanguage ([string $path = null])
boolean uninstall (integer $id)
boolean update ()
Variables
mixed $element = null (line 26)
  • access: protected
mixed $name = null (line 24)
  • access: protected
mixed $route = 'install' (line 28)
  • access: protected

Inherited Variables

Inherited from JAdapterInstance

JAdapterInstance::$db
JAdapterInstance::$parent

Inherited from JObject

JObject::$_errors
Methods
discover (line 445)

Discover existing but uninstalled templates

  • return: JExtensionTable list
  • access: public
array discover ()
discover_install (line 503)

Discover_install Perform an install for a discovered extension

  • since: 11.1
  • access: public
boolean discover_install ()
install (line 79)

Custom install method

  • return: True on success
  • since: 11.1
  • access: public
boolean install ()
loadLanguage (line 39)

Custom loadLanguage method

  • since: 11.1
  • access: public
JInstallerTemplate loadLanguage ([string $path = null])
  • string $path: The path where to find language files.
refreshManifestCache (line 580)

Refreshes the extension table cache

  • return: Result of operation, true if updated, false on failure
  • since: 11.1
  • access: public
boolean refreshManifestCache ()
uninstall (line 335)

Custom uninstall method

  • return: True on success
  • since: 11.1
  • access: public
boolean uninstall (integer $id)
  • integer $id: The extension ID
update (line 321)

Custom update method for components

  • return: True on success
  • since: 11.1
  • access: public
boolean update ()

Inherited Methods

Inherited From JAdapterInstance

JAdapterInstance::__construct()
JAdapterInstance::getParent()

Inherited From JObject

JObject::__construct()
JObject::def()
JObject::get()
JObject::getError()
JObject::getErrors()
JObject::getProperties()
JObject::set()
JObject::setError()
JObject::setProperties()
JObject::toString()
JObject::__toString()

Documentation generated on Mon, 25 Jun 2012 14:00:08 -0500 by phpDocumentor 1.4.4