![]() |
Bearsampp 2026.9.23
|
Public Member Functions | |
| __construct (&$config) | |
| getInfo ($role) | |
| getLocationConfig () | |
| isExecutable () | |
| isExtension () | |
| isInstallable () | |
| processInstallation ($pkg, $atts, $file, $tmp_path, $layer=null) | |
| setup (&$installer, $pkg, $atts, $file) | |
Data Fields | |
| $config | |
Definition at line 30 of file Common.php.
| __construct | ( | & | $config | ) |
| PEAR_Config |
Definition at line 41 of file Common.php.
References $config.
| getInfo | ( | $role | ) |
Retrieve configuration information about a file role from its XML info
| string | $role | Role Classname, as in "PEAR_Installer_Role_Data" |
Definition at line 52 of file Common.php.
References $GLOBALS.
Referenced by getLocationConfig(), isExecutable(), isExtension(), isInstallable(), and processInstallation().
| getLocationConfig | ( | ) |
Get the name of the configuration variable that specifies the location of this file
Definition at line 122 of file Common.php.
References getInfo().
| isExecutable | ( | ) |
Definition at line 143 of file Common.php.
References getInfo().
| isExtension | ( | ) |
Definition at line 163 of file Common.php.
References getInfo().
| isInstallable | ( | ) |
Definition at line 153 of file Common.php.
References getInfo().
| processInstallation | ( | $pkg, | |
| $atts, | |||
| $file, | |||
| $tmp_path, | |||
| $layer = null ) |
This is called for each file to set up the directories and files
| PEAR_PackageFile_v1|PEAR_PackageFile_v2 | |
| array | attributes from the <file> tag |
| string | file name |
1 the original, pre-baseinstalldir installation directory 2 the final installation directory 3 the full path to the final location of the file 4 the location of the pre-installation file
Reimplemented in PEAR_Installer_Role_Cfg.
Definition at line 72 of file Common.php.
References getInfo().
| setup | ( | & | $installer, |
| $pkg, | |||
| $atts, | |||
| $file ) |
Do any unusual setup here
| PEAR_Installer | |
| PEAR_PackageFile_v2 | |
| array | file attributes |
| string | file name |
Reimplemented in PEAR_Installer_Role_Cfg, and PEAR_Installer_Role_Src.
Definition at line 139 of file Common.php.
| $config |
Definition at line 36 of file Common.php.
Referenced by __construct().