[ Index ] |
|
Code source de SPIP Agora 1.4 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 1068 lignes (41 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PEAR_Installer:: (15 méthodes):
PEAR_Installer()
_deletePackageFiles()
_installFile()
addFileOperation()
startFileTransaction()
commitFileTransaction()
rollbackFileTransaction()
mkDirHier()
download()
install()
uninstall()
_sortDirs()
checkDeps()
_buildCallback()
md5_file()
Classe: PEAR_Installer - X-Ref
Administration class used to install PEAR packages and maintain thePEAR_Installer(&$ui) X-Ref |
PEAR_Installer constructor. param: object $ui user interface object (instance of PEAR_Frontend_*) |
_deletePackageFiles($package) X-Ref |
Delete a package's installed files, does not remove empty directories. param: string $package package name return: bool TRUE on success, or a PEAR error on failure |
_installFile($file, $atts, $tmp_path, $options) X-Ref |
param: string filename param: array attributes from <file> tag in package.xml param: string path to install the file in param: array options from command-line |
addFileOperation($type, $data) X-Ref |
Add a file operation to the current file transaction. |
startFileTransaction($rollback_in_case = false) X-Ref |
Pas de description |
commitFileTransaction() X-Ref |
Pas de description |
rollbackFileTransaction() X-Ref |
Pas de description |
mkDirHier($dir) X-Ref |
Pas de description |
download($packages, $options, &$config, &$installpackages,&$errors, $installed = false, $willinstall = false, $state = false) X-Ref |
Download any files and their dependencies, if necessary param: array a mixed list of package names, local files, or package.xml param: PEAR_Config param: array options from the command line param: array this is the array that will be populated with packages to param: array this will be populated with any error messages param: false private recursion variable param: false private recursion variable param: false private recursion variable |
install($pkgfile, $options = array() X-Ref |
Installs the files within the package file specified. param: string $pkgfile path to the package file param: array $options return: array|PEAR_Error package info if successful |
uninstall($package, $options = array() X-Ref |
Uninstall a package This method removes all files installed by the application, and then removes any empty directories. param: string package name param: array Command-line options. Possibilities include: |
_sortDirs($a, $b) X-Ref |
Pas de description |
checkDeps(&$pkginfo, &$errors) X-Ref |
Check if the package meets all dependencies param: array Package information (passed by reference) param: string Error message (passed by reference) return: boolean False when no error occured, otherwise true |
_buildCallback($what, $data) X-Ref |
Pas de description |
md5_file($filename) X-Ref |
Pas de description |
Généré le : Sat Feb 24 14:40:03 2007 | par Balluche grâce à PHPXref 0.7 |