Class JInstallerAdapterTemplate

Description

Template installer

  • since: 3.1

Located in /libraries/cms/installer/adapter/template.php (line 22)

JObject
   |
   --JAdapterInstance
      |
      --JInstallerAdapterTemplate
Direct descendents
Class Description
 class JInstallerTemplate Deprecated class placeholder. You should use JInstallerAdapterTemplate instead.
Variable Summary
 string $element
 string $manifest
 string $name
 string $route
Method Summary
 array discover ()
 boolean discover_install ()
 boolean install ()
 JInstallerTemplate loadLanguage ([string $path = null])
 boolean uninstall (integer $id)
 boolean update ()
Variables
string $element = null (line 46)

The unique identifier for the extension (e.g. mod_login)

  • since: 3.1
  • access: protected
string $manifest = null (line 30)

Copy of the XML manifest file

  • since: 3.1
  • access: protected
string $name = null (line 38)

Name of the extension

  • since: 3.1
  • access: protected
string $route = 'install' (line 55)

Method of system

  • since: 3.1
  • access: protected

Inherited Variables

Inherited from JAdapterInstance

JAdapterInstance::$db
JAdapterInstance::$parent

Inherited from JObject

JObject::$_errors
Methods
discover (line 485)

Discover existing but uninstalled templates

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

Discover_install Perform an install for a discovered extension

  • since: 3.1
  • access: public
boolean discover_install ()
install (line 103)

Custom install method

  • return: True on success
  • since: 3.1
  • access: public
boolean install ()
loadLanguage (line 66)

Custom loadLanguage method

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

Refreshes the extension table cache

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

Custom uninstall method

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

Custom update method for components

  • return: True on success
  • since: 3.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()

Documentation generated on Tue, 19 Nov 2013 15:15:31 +0100 by phpDocumentor 1.4.3