[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/libraries/joomla/installer/adapters/ -> language.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 669 lines (20 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JInstallerLanguage:: (7 methods):
  install()
  _install()
  update()
  uninstall()
  discover()
  discover_install()
  refreshManifestCache()


Class: JInstallerLanguage  - X-Ref

Language installer

install()   X-Ref
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: boolean  True on success

_install($cname, $basePath, $clientId, &$element)   X-Ref
Install function that is designed to handle individual clients

param: string   $cname     Cname @todo: not used
param: string   $basePath  The base name.
param: integer  $clientId  The client id.
param: object   &$element  The XML element.
return: boolean

update()   X-Ref
Custom update method

return: boolean  True on success, false on failure

uninstall($eid)   X-Ref
Custom uninstall method

param: string  $eid  The tag of the language to uninstall
return: mixed  Return value for uninstall method in component uninstall file

discover()   X-Ref
Custom discover method
Finds language files

return: boolean  True on success

discover_install()   X-Ref
Custom discover install method
Basically updates the manifest cache and leaves everything alone

return: integer  The extension id

refreshManifestCache()   X-Ref
Refreshes the extension table cache

return: boolean result of operation, true if updated, false on failure



Generated: Tue Apr 3 11:40:28 2012 Cross-referenced by PHPXref 0.7.1