[ Index ]

PHP Cross Reference of Joomla 2.5.4 DE

title

Body

[close]

/libraries/joomla/installer/adapters/ -> package.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: 564 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

JInstallerPackage:: (6 methods):
  loadLanguage()
  install()
  update()
  uninstall()
  _getExtensionID()
  refreshManifestCache()


Class: JInstallerPackage  - X-Ref

Package installer

loadLanguage($path)   X-Ref
Load language from a path

param: string  $path  The path of the language.
return: void

install()   X-Ref
Custom install method

return: int  The extension id

update()   X-Ref
Updates a package

The only difference between an update and a full install
is how we handle the database

return: void

uninstall($id)   X-Ref
Custom uninstall method

param: integer  $id  The id of the package to uninstall.
return: boolean  True on success

_getExtensionID($type, $id, $client, $group)   X-Ref
Gets the extension id.

param: string   $type    The extension type.
param: string   $id      The name of the extension (the element field).
param: integer  $client  The application id (0: Joomla CMS site; 1: Joomla CMS administrator).
param: string   $group   The extension group (mainly for plugins).
return: integer

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