[ Index ] |
|
Code source de GeekLog 1.4.1 |
[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.13 2006/01/06 04:47:36 cellog Exp $ |
Poids: | 248 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
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. php files serve no purpose in extsrc or extbin 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 : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |