Class JInstallerLanguage

Description

Language installer

  • since: 11.1

Located in /libraries/joomla/installer/adapters/language.php (line 21)

JObject
   |
   --JAdapterInstance
      |
      --JInstallerLanguage
Variable Summary
boolean $_core
Method Summary
boolean discover ()
integer discover_install ()
boolean install ()
mixed uninstall (string $eid)
boolean update ()
boolean _install (string $cname, string $basePath, integer $clientId, object &$element)
Variables
boolean $_core = false (line 29)

Core language pack flag

  • since: 11.1
  • access: protected

Inherited Variables

Inherited from JAdapterInstance

JAdapterInstance::$db
JAdapterInstance::$parent

Inherited from JObject

JObject::$_errors
Methods
discover (line 567)

Custom discover method Finds language files

  • return: True on success
  • since: 11.1
  • access: public
boolean discover ()
discover_install (line 613)

Custom discover install method Basically updates the manifest cache and leaves everything alone

  • return: The extension id
  • since: 11.1
  • access: public
integer discover_install ()
install (line 42)

Custom install method

Note: This behaves badly due to hacks made in the middle of 1.5.x to add the ability to install multiple distinct packs in one install. The preferred method is to use a package to install multiple language packs.

  • return: True on success
  • since: 11.1
  • access: public
boolean install ()
refreshManifestCache (line 648)

Refreshes the extension table cache

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

Custom uninstall method

  • return: Return value for uninstall method in component uninstall file
  • since: 11.1
  • access: public
mixed uninstall (string $eid)
  • string $eid: The tag of the language to uninstall
update (line 302)

Custom update method

  • return: True on success, false on failure
  • since: 11.1
  • access: public
boolean update ()
_install (line 113)

Install function that is designed to handle individual clients

  • since: 11.1
  • access: protected
boolean _install (string $cname, string $basePath, integer $clientId, object &$element)
  • string $cname: Cname @todo: not used
  • string $basePath: The base name.
  • integer $clientId: The client id.
  • object &$element: The XML element.

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 13:56:03 -0500 by phpDocumentor 1.4.4