[ Index ] |
|
Code source de PHP PEAR 1.4.5 |
[Code source] [Imprimer] [Statistiques]
PEAR_Installer_Role 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: Role.php,v 1.16 2006/10/31 02:54:41 cellog Exp $ |
Poids: | 253 lignes (8 kb) |
Inclus ou requis: | 3 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers PEAR/XMLParser.php PEAR/Installer/Role/Common.php |
PEAR_Installer_Role:: (7 méthodes):
initializeConfig()
factory()
getValidRoles()
getInstallableRoles()
getBaseinstallRoles()
getPhpRoles()
registerRoles()
Classe: PEAR_Installer_Role - X-Ref
initializeConfig(&$config) X-Ref |
Set up any additional configuration variables that file roles require Never call this directly, it is called by the PEAR_Config constructor param: PEAR_Config |
factory($pkg, $role, &$config) X-Ref |
param: PEAR_PackageFile_v2 param: string role name param: PEAR_Config return: PEAR_Installer_Role_Common |
getValidRoles($release, $clear = false) X-Ref |
Get a list of file roles that are valid for the particular release type. For instance, src files serve no purpose in regular php releases. param: string param: bool clear cache return: array |
getInstallableRoles($clear = false) X-Ref |
Get a list of roles that require their files to be installed Most roles must be installed, but src and package roles, for instance are pseudo-roles. src files are compiled into a new extension. Package roles are actually fully bundled releases of a package param: bool clear cache return: array |
getBaseinstallRoles($clear = false) X-Ref |
Return an array of roles that are affected by the baseinstalldir attribute Most roles ignore this attribute, and instead install directly into: PackageName/filepath so a tests file tests/file.phpt is installed into PackageName/tests/filepath.php param: bool clear cache return: array |
getPhpRoles($clear = false) X-Ref |
Return an array of file roles that should be analyzed for PHP content at package time, like the "php" role. param: bool clear cache return: array |
registerRoles($dir = null) X-Ref |
Scan through the Command directory looking for classes and see what commands they implement. param: string which directory to look for classes, defaults to return: bool TRUE on success, a PEAR error on failure |
Généré le : Sun Feb 25 14:08:00 2007 | par Balluche grâce à PHPXref 0.7 |