Administration class used to install PEAR packages and maintain the installed package database.
TODO:
Located in /maintenance/libraries/pear/PEAR/Installer.php (line 40)
PEAR | --PEAR_Common | --PEAR_Downloader | --PEAR_Installer
debug level
directory where documentation goes
directory where PHP extension files go
List of file transactions queued for an install/upgrade/uninstall.
Format: array(
installation root directory (ala PHP's INSTALL_ROOT or
automake's DESTDIR
directory where PHP code files go
name of the package directory, for example Foo-1.0
PEAR_Registry object used by the installer
temporary directory
Inherited from PEAR_Downloader
PEAR_Downloader::$_config
PEAR_Downloader::$_downloadedPackages
PEAR_Downloader::$_errorStack
PEAR_Downloader::$_installed
PEAR_Downloader::$_options
PEAR_Downloader::$_preferredState
PEAR_Downloader::$_registry
PEAR_Downloader::$_remote
PEAR_Downloader::$_toDownload
Inherited from PEAR_Common
PEAR_Common::$config
PEAR_Common::$current_attributes
PEAR_Common::$current_element
PEAR_Common::$current_path
PEAR_Common::$element_stack
PEAR_Common::$pkginfo
PEAR_Common::$source_analyzer
PEAR_Common::$ui
PEAR_Common::$_validPackageFile
PEAR_Installer constructor.
Add a file operation to the current file transaction.
Check if the package meets all dependencies
Download any files and their dependencies, if necessary
this is the array that will be populated with packages to install. Format of each entry:
- array('pkg' => 'package_name', 'file' => '/path/to/local/file',
- 'info' => array() // parsed package.xml
- );
Installs the files within the package file specified.
Uninstall a package
This method removes all files installed by the application, and then removes any empty directories.
Command-line options. Possibilities include:
Delete a package's installed files, does not remove empty directories.
Inherited From PEAR_Downloader
PEAR_Downloader::PEAR_Downloader()
PEAR_Downloader::configSet()
PEAR_Downloader::doDownload()
PEAR_Downloader::download()
PEAR_Downloader::extractDownloadFileName()
PEAR_Downloader::getDownloadedPackages()
PEAR_Downloader::getErrorMsgs()
PEAR_Downloader::getPackageDownloadUrl()
PEAR_Downloader::pushError()
PEAR_Downloader::setOptions()
PEAR_Downloader::_downloadCallback()
PEAR_Downloader::_downloadFile()
PEAR_Downloader::_downloadNonFile()
PEAR_Downloader::_prependPath()
PEAR_Downloader::_processDependency()
Inherited From PEAR_Common
PEAR_Common::PEAR_Common()
PEAR_Common::addTempFile()
PEAR_Common::analyzeSourceCode()
PEAR_Common::betterStates()
PEAR_Common::buildProvidesArray()
PEAR_Common::detectDependencies()
PEAR_Common::downloadHttp()
PEAR_Common::getDependencyRelations()
PEAR_Common::getDependencyTypes()
PEAR_Common::getFileRoles()
PEAR_Common::getProvideTypes()
PEAR_Common::getReleaseStates()
PEAR_Common::getReplacementTypes()
PEAR_Common::getScriptPhases()
PEAR_Common::getUserRoles()
PEAR_Common::infoFromAny()
PEAR_Common::infoFromDescriptionFile()
PEAR_Common::infoFromString()
PEAR_Common::infoFromTgzFile()
PEAR_Common::log()
PEAR_Common::mkDirHier()
PEAR_Common::mkTempDir()
PEAR_Common::setFrontendObject()
PEAR_Common::sortPkgDeps()
PEAR_Common::validatePackageInfo()
PEAR_Common::validPackageName()
PEAR_Common::validPackageVersion()
PEAR_Common::xmlFromInfo()
PEAR_Common::_element_end()
PEAR_Common::_element_end_1_0()
PEAR_Common::_element_start()
PEAR_Common::_element_start_1_0()
PEAR_Common::_getPkgDeps()
PEAR_Common::_getPkgDepTree()
PEAR_Common::_getRevPkgDeps()
PEAR_Common::_makeReleaseXml()
PEAR_Common::_PEAR_Common()
PEAR_Common::_pkginfo_cdata_1_0()
PEAR_Common::_removedDependency()
PEAR_Common::_sortPkgDeps()
PEAR_Common::_sortPkgDepsRev()
PEAR_Common::_unIndent()
Documentation generated on Fri, 24 Dec 2004 13:02:21 +0000 by phpDocumentor 1.3.0RC3