X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fpear%2FPEAR%2FInstaller%2FRole.php;h=0623424a2e51e5ca51d950d7f96c9acc1ab194d0;hb=90ff65cf45284f90b1c4e09fe575319b320f56ac;hp=0c50fa79c0c83dbe853ed3bb872bd15a2e0ace18;hpb=afe2d051307ae2cd54bdb957f04e1d9f625f2dd9;p=timetracker.git diff --git a/WEB-INF/lib/pear/PEAR/Installer/Role.php b/WEB-INF/lib/pear/PEAR/Installer/Role.php index 0c50fa79..0623424a 100644 --- a/WEB-INF/lib/pear/PEAR/Installer/Role.php +++ b/WEB-INF/lib/pear/PEAR/Installer/Role.php @@ -9,7 +9,6 @@ * @author Greg Beaver * @copyright 1997-2009 The Authors * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @version CVS: $Id: Role.php 313023 2011-07-06 19:17:11Z dufuz $ * @link http://pear.php.net/package/PEAR * @since File available since Release 1.4.0a1 */ @@ -25,7 +24,7 @@ require_once 'PEAR/XMLParser.php'; * @author Greg Beaver * @copyright 1997-2009 The Authors * @license http://opensource.org/licenses/bsd-license.php New BSD License - * @version Release: 1.9.4 + * @version Release: 1.10.1 * @link http://pear.php.net/package/PEAR * @since Class available since Release 1.4.0a1 */ @@ -36,10 +35,8 @@ class PEAR_Installer_Role * * Never call this directly, it is called by the PEAR_Config constructor * @param PEAR_Config - * @access private - * @static */ - function initializeConfig(&$config) + public static function initializeConfig(&$config) { if (!isset($GLOBALS['_PEAR_INSTALLER_ROLES'])) { PEAR_Installer_Role::registerRoles(); @@ -59,9 +56,8 @@ class PEAR_Installer_Role * @param string role name * @param PEAR_Config * @return PEAR_Installer_Role_Common - * @static */ - function &factory($pkg, $role, &$config) + public static function &factory($pkg, $role, &$config) { if (!isset($GLOBALS['_PEAR_INSTALLER_ROLES'])) { PEAR_Installer_Role::registerRoles(); @@ -88,9 +84,8 @@ class PEAR_Installer_Role * @param string * @param bool clear cache * @return array - * @static */ - function getValidRoles($release, $clear = false) + public static function getValidRoles($release, $clear = false) { if (!isset($GLOBALS['_PEAR_INSTALLER_ROLES'])) { PEAR_Installer_Role::registerRoles(); @@ -123,9 +118,8 @@ class PEAR_Installer_Role * roles are actually fully bundled releases of a package * @param bool clear cache * @return array - * @static */ - function getInstallableRoles($clear = false) + public static function getInstallableRoles($clear = false) { if (!isset($GLOBALS['_PEAR_INSTALLER_ROLES'])) { PEAR_Installer_Role::registerRoles(); @@ -158,9 +152,8 @@ class PEAR_Installer_Role * so a tests file tests/file.phpt is installed into PackageName/tests/filepath.php * @param bool clear cache * @return array - * @static */ - function getBaseinstallRoles($clear = false) + public static function getBaseinstallRoles($clear = false) { if (!isset($GLOBALS['_PEAR_INSTALLER_ROLES'])) { PEAR_Installer_Role::registerRoles(); @@ -190,9 +183,8 @@ class PEAR_Installer_Role * like the "php" role. * @param bool clear cache * @return array - * @static */ - function getPhpRoles($clear = false) + public static function getPhpRoles($clear = false) { if (!isset($GLOBALS['_PEAR_INSTALLER_ROLES'])) { PEAR_Installer_Role::registerRoles(); @@ -226,10 +218,8 @@ class PEAR_Installer_Role * included. * * @return bool TRUE on success, a PEAR error on failure - * @access public - * @static */ - function registerRoles($dir = null) + public static function registerRoles($dir = null) { $GLOBALS['_PEAR_INSTALLER_ROLES'] = array(); $parser = new PEAR_XMLParser;