Subversion Repositories Applications.gtt

Rev

Rev 94 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 94 Rev 187
Line 2... Line 2...
2
/**
2
/**
3
 * Base class for all installation roles.
3
 * Base class for all installation roles.
4
 *
4
 *
5
 * PHP versions 4 and 5
5
 * PHP versions 4 and 5
6
 *
6
 *
7
 * LICENSE: This source file is subject to version 3.0 of the PHP license
-
 
8
 * that is available through the world-wide-web at the following URI:
-
 
9
 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
-
 
10
 * the PHP License and are unable to obtain it through the web, please
-
 
11
 * send a note to license@php.net so we can mail you a copy immediately.
-
 
12
 *
-
 
13
 * @category   pear
7
 * @category   pear
14
 * @package    PEAR
8
 * @package    PEAR
15
 * @author     Greg Beaver <cellog@php.net>
9
 * @author     Greg Beaver <cellog@php.net>
16
 * @copyright  1997-2006 The PHP Group
10
 * @copyright  1997-2006 The PHP Group
17
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
11
 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
18
 * @version    CVS: $Id: Common.php,v 1.12 2006/10/19 23:55:32 cellog Exp $
-
 
19
 * @link       http://pear.php.net/package/PEAR
12
 * @link       http://pear.php.net/package/PEAR
20
 * @since      File available since Release 1.4.0a1
13
 * @since      File available since Release 1.4.0a1
21
 */
14
 */
22
/**
15
/**
23
 * Base class for all installation roles.
16
 * Base class for all installation roles.
Line 27... Line 20...
27
 * adding configuration values to match.
20
 * adding configuration values to match.
28
 * @category   pear
21
 * @category   pear
29
 * @package    PEAR
22
 * @package    PEAR
30
 * @author     Greg Beaver <cellog@php.net>
23
 * @author     Greg Beaver <cellog@php.net>
31
 * @copyright  1997-2006 The PHP Group
24
 * @copyright  1997-2006 The PHP Group
32
 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
25
 * @license    http://opensource.org/licenses/bsd-license.php New BSD License
33
 * @version    Release: 1.5.1
26
 * @version    Release: 1.10.1
34
 * @link       http://pear.php.net/package/PEAR
27
 * @link       http://pear.php.net/package/PEAR
35
 * @since      Class available since Release 1.4.0a1
28
 * @since      Class available since Release 1.4.0a1
36
 */
29
 */
37
class PEAR_Installer_Role_Common
30
class PEAR_Installer_Role_Common
38
{
31
{
Line 43... Line 36...
43
    var $config;
36
    var $config;
Line 44... Line 37...
44
 
37
 
45
    /**
38
    /**
46
     * @param PEAR_Config
39
     * @param PEAR_Config
47
     */
40
     */
48
    function PEAR_Installer_Role_Common(&$config)
41
    function __construct(&$config)
49
    {
42
    {
50
        $this->config = $config;
43
        $this->config = $config;
Line 51... Line 44...
51
    }
44
    }
Line 175... Line 168...
175
            return $roleInfo;
168
            return $roleInfo;
176
        }
169
        }
177
        return $roleInfo['phpextension'];
170
        return $roleInfo['phpextension'];
178
    }
171
    }
179
}
172
}
180
?>
-
 
181
173
?>
-
 
174