[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/system/pear/PEAR/Installer/Role/ -> Common.php (sommaire)

Base class for all installation roles. PHP versions 4 and 5

Author: Greg Beaver <cellog@php.net>
Copyright: 1997-2006 The PHP Group
License: http://www.php.net/license/3_0.txt PHP License 3.0
Version: CVS: $Id: Common.php,v 1.10 2006/01/06 04:47:37 cellog Exp $
Poids: 180 lignes (7 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PEAR_Installer_Role_Common:: (8 méthodes):
  PEAR_Installer_Role_Common()
  getInfo()
  processInstallation()
  getLocationConfig()
  setup()
  isExecutable()
  isInstallable()
  isExtension()


Classe: PEAR_Installer_Role_Common  - X-Ref

Base class for all installation roles.

This class allows extensibility of file roles.  Packages with complex
customization can now provide custom file roles along with the possibility of
adding configuration values to match.
PEAR_Installer_Role_Common(&$config)   X-Ref

param: PEAR_Config

getInfo($role)   X-Ref
Retrieve configuration information about a file role from its XML info

param: string $role Role Classname, as in "PEAR_Installer_Role_Data"
return: array

processInstallation($pkg, $atts, $file, $tmp_path, $layer = null)   X-Ref
This is called for each file to set up the directories and files

param: PEAR_PackageFile_v1|PEAR_PackageFile_v2
param: array attributes from the <file> tag
param: string file name
return: array an array consisting of:

getLocationConfig()   X-Ref
Get the name of the configuration variable that specifies the location of this file

return: string|false

setup(&$installer, $pkg, $atts, $file)   X-Ref
Do any unusual setup here

param: PEAR_Installer
param: PEAR_PackageFile_v2
param: array file attributes
param: string file name

isExecutable()   X-Ref
Pas de description

isInstallable()   X-Ref
Pas de description

isExtension()   X-Ref
Pas de description



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics