Index of all elements
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ x ]
[ z ]
[ _ ]
top
top
c
- $cache
- in file Remote.php, variable PEAR_Remote::$cache
- $cause
- in file Exception.php, variable PEAR_Exception::$cause
- $code
- in file PEAR.php, variable PEAR_Error::$code
- $commands
- in file Auth.php, variable PEAR_Command_Auth::$commands
- $commands
- in file Config.php, variable PEAR_Command_Config::$commands
- $commands
- in file Registry.php, variable PEAR_Command_Registry::$commands
- $commands
- in file Package.php, variable PEAR_Command_Package::$commands
- $commands
- in file Mirror.php, variable PEAR_Command_Mirror::$commands
- $commands
- in file Build.php, variable PEAR_Command_Build::$commands
- $commands
- in file Install.php, variable PEAR_Command_Install::$commands
- $commands
- in file Remote.php, variable PEAR_Command_Remote::$commands
- $config
- in file Remote.php, variable PEAR_Remote::$config
- $config
- in file Common.php, variable PEAR_Command_Common::$config
PEAR_Config object used to pass user system and configuration on when executing commands
- $config
- in file Common.php, variable PEAR_Common::$config
Configuration object (PEAR_Config).
- $configuration
- in file Config.php, variable PEAR_Config::$configuration
Configuration data, two-dimensional array where the first dimension is the config layer ('user', 'system' and 'default'), and the second dimension is keyname => value.
- $configuration_info
- in file Config.php, variable PEAR_Config::$configuration_info
Information about the configuration data. Stores the type, default value and a documentation string for each configuration value.
- $cpu
- in file Guess.php, variable OS_Guess::$cpu
- $current_attributes
- in file Common.php, variable PEAR_Common::$current_attributes
array of attributes of the currently parsed XML element
- $current_callback
- in file Builder.php, variable PEAR_Builder::$current_callback
- $current_element
- in file Common.php, variable PEAR_Common::$current_element
name of currently parsed XML element
- $current_path
- in file Common.php, variable PEAR_Common::$current_path
- call
- in file Remote.php, method PEAR_Remote::call()
- callCheckMethod
- in file Dependency.php, method PEAR_Dependency::callCheckMethod()
This method maps the XML dependency definition to the corresponding one from PEAR_Dependency
- call_epi
- in file Remote.php, method PEAR_Remote::call_epi()
- cat
- in file System.php, method System::cat()
Concatenate files
- checkDeps
- in file Installer.php, method PEAR_Installer::checkDeps()
Check if the package meets all dependencies
- checkExtension
- in file Dependency.php, method PEAR_Dependency::checkExtension()
Extension dependencies check method
- checkFileMap
- in file Registry.php, method PEAR_Registry::checkFileMap()
Test whether a file belongs to a package.
- checkOS
- in file Dependency.php, method PEAR_Dependency::checkOS()
Operating system dependencies check method
- checkPackage
- in file Dependency.php, method PEAR_Dependency::checkPackage()
Package dependencies check method
- checkPackageUninstall
- in file Dependency.php, method PEAR_Dependency::checkPackageUninstall()
Check package dependencies on uninstall
- checkPHP
- in file Dependency.php, method PEAR_Dependency::checkPHP()
PHP version check method
- checkProgram
- in file Dependency.php, method PEAR_Dependency::checkProgram()
External program check method. Looks for executable files in directories listed in the PATH environment variable.
- checkSAPI
- in file Dependency.php, method PEAR_Dependency::checkSAPI()
SAPI backend check method. Version comparison is not yet available here.
- checkZend
- in file Dependency.php, method PEAR_Dependency::checkZend()
Zend version check method
- cmdHelp
- in file pearcmd.php, function cmdHelp()
- codeFromRelation
- in file Dependency.php, method PEAR_Dependency::codeFromRelation()
Convert relation into corresponding code
- commitFileTransaction
- in file Installer.php, method PEAR_Installer::commitFileTransaction()
- configSet
- in file Downloader.php, method PEAR_Downloader::configSet()
- Common.php
- procedural page Common.php
- Config.php
- procedural page Config.php
- Command.php
- procedural page Command.php
- Common.php
- procedural page Common.php
- Config.php
- procedural page Config.php
- CLI.php
- procedural page CLI.php
top
d
- $debug
- in file Installer.php, variable PEAR_Installer::$debug
debug level
- $docdir
- in file Installer.php, variable PEAR_Installer::$docdir
directory where documentation goes
- definedBy
- in file Config.php, method PEAR_Config::definedBy()
Tells what config layer that gets to define a key.
- deletePackage
- in file Registry.php, method PEAR_Registry::deletePackage()
- delExpect
- in file PEAR.php, method PEAR::delExpect()
This method deletes all occurences of the specified element from the expected error codes stack.
- DETAILED
- in file RunTest.php, constant DETAILED
- detectDependencies
- in file Common.php, method PEAR_Common::detectDependencies()
- display
- in file CLI.php, method PEAR_Frontend_CLI::display()
- displayError
- in file CLI.php, method PEAR_Frontend_CLI::displayError()
- displayFatalError
- in file CLI.php, method PEAR_Frontend_CLI::displayFatalError()
- displayHeading
- in file CLI.php, method PEAR_Frontend_CLI::displayHeading()
- displayLine
- in file CLI.php, method PEAR_Frontend_CLI::displayLine()
- doBuild
- in file Build.php, method PEAR_Command_Build::doBuild()
- doBundle
- in file Install.php, method PEAR_Command_Install::doBundle()
- doClearCache
- in file Remote.php, method PEAR_Command_Remote::doClearCache()
- doConfigGet
- in file Config.php, method PEAR_Command_Config::doConfigGet()
- doConfigHelp
- in file Config.php, method PEAR_Command_Config::doConfigHelp()
- doConfigSet
- in file Config.php, method PEAR_Command_Config::doConfigSet()
- doConfigShow
- in file Config.php, method PEAR_Command_Config::doConfigShow()
- doCvsDiff
- in file Package.php, method PEAR_Command_Package::doCvsDiff()
- doCvsTag
- in file Package.php, method PEAR_Command_Package::doCvsTag()
- doDownload
- in file Remote.php, method PEAR_Command_Remote::doDownload()
- doDownload
- in file Downloader.php, method PEAR_Downloader::doDownload()
Download any files and their dependencies, if necessary
- doDownloadAll
- in file Mirror.php, method PEAR_Command_Mirror::doDownloadAll()
retrieves a list of avaible Packages from master server and downloads them
- doInfo
- in file Registry.php, method PEAR_Command_Registry::doInfo()
- doInstall
- in file Install.php, method PEAR_Command_Install::doInstall()
- doList
- in file Registry.php, method PEAR_Command_Registry::doList()
- doListAll
- in file Remote.php, method PEAR_Command_Remote::doListAll()
- doListUpgrades
- in file Remote.php, method PEAR_Command_Remote::doListUpgrades()
- doLogin
- in file Auth.php, method PEAR_Command_Auth::doLogin()
Execute the 'login' command.
- doLogout
- in file Auth.php, method PEAR_Command_Auth::doLogout()
Execute the 'logout' command.
- doMakeRPM
- in file Package.php, method PEAR_Command_Package::doMakeRPM()
- doPackage
- in file Package.php, method PEAR_Command_Package::doPackage()
- doPackageDependencies
- in file Package.php, method PEAR_Command_Package::doPackageDependencies()
- doPackageValidate
- in file Package.php, method PEAR_Command_Package::doPackageValidate()
- doRemoteInfo
- in file Remote.php, method PEAR_Command_Remote::doRemoteInfo()
- doRemoteList
- in file Remote.php, method PEAR_Command_Remote::doRemoteList()
- doRunTests
- in file Package.php, method PEAR_Command_Package::doRunTests()
- doSearch
- in file Remote.php, method PEAR_Command_Remote::doSearch()
- doShellTest
- in file Registry.php, method PEAR_Command_Registry::doShellTest()
- doSign
- in file Package.php, method PEAR_Command_Package::doSign()
- doUninstall
- in file Install.php, method PEAR_Command_Install::doUninstall()
- download
- in file Installer.php, method PEAR_Installer::download()
Download any files and their dependencies, if necessary
- download
- in file Downloader.php, method PEAR_Downloader::download()
Download any files and their dependencies, if necessary
- downloadCallback
- in file Remote.php, method PEAR_Command_Remote::downloadCallback()
- downloadHttp
- in file Common.php, method PEAR_Common::downloadHttp()
Download a file through HTTP. Considers suggested file name in
- Dependency.php
- procedural page Dependency.php
- Downloader.php
- procedural page Downloader.php
top
e
- $element_stack
- in file Common.php, variable PEAR_Common::$element_stack
stack of elements, gives some sort of XML context
- $error_message_prefix
- in file PEAR.php, variable PEAR_Error::$error_message_prefix
- $extdir
- in file Installer.php, variable PEAR_Installer::$extdir
directory where PHP extension files go
- $extensions_built
- in file Builder.php, variable PEAR_Builder::$extensions_built
- $extra
- in file Guess.php, variable OS_Guess::$extra
- endTable
- in file CLI.php, method PEAR_Frontend_CLI::endTable()
- error_handler
- in file pearcmd.php, function error_handler()
- expectError
- in file PEAR.php, method PEAR::expectError()
This method is used to tell which errors you expect to get.
- extractDownloadFileName
- in file Downloader.php, method PEAR_Downloader::extractDownloadFileName()
- ErrorStack.php
- procedural page ErrorStack.php
- Exception.php
- procedural page Exception.php
top
top
g
- generate_diff
- in file RunTest.php, method PEAR_RunTest::generate_diff()
- get
- in file Config.php, method PEAR_Config::get()
Returns a configuration value, prioritizing layers as per the layers property.
- getBacktrace
- in file PEAR.php, method PEAR_Error::getBacktrace()
Get the call backtrace from where the error was generated.
- getCache
- in file Remote.php, method PEAR_Remote::getCache()
- getCallback
- in file PEAR.php, method PEAR_Error::getCallback()
Get the callback function/method from an error object.
- getCause
- in file Exception.php, method PEAR_Exception::getCause()
Returns the exception that caused this exception to be thrown
- getCauseMessage
- in file Exception.php, method PEAR_Exception::getCauseMessage()
Function must be public to call on caused exceptions
- getCode
- in file PEAR.php, method PEAR_Error::getCode()
Get error code from an error object
- getCommands
- in file Common.php, method PEAR_Command_Common::getCommands()
Return a list of all the commands defined by this class.
- getCommands
- in file Command.php, method PEAR_Command::getCommands()
Get the list of currently supported commands, and what classes implement them.
- getConfFile
- in file Config.php, method PEAR_Config::getConfFile()
Gets the file used for storing the config for a layer
- getCpu
- in file Guess.php, method OS_Guess::getCpu()
- getDebugInfo
- in file PEAR.php, method PEAR_Error::getDebugInfo()
Get additional debug information supplied by the application.
- getDependencyRelations
- in file Common.php, method PEAR_Common::getDependencyRelations()
Get the implemented dependency relations (has, lt, ge etc.)
- getDependencyTypes
- in file Common.php, method PEAR_Common::getDependencyTypes()
Get the implemented dependency types (php, ext, pkg etc.)
- getDescription
- in file Command.php, method PEAR_Command::getDescription()
Get description for a command.
- getDocs
- in file Config.php, method PEAR_Config::getDocs()
Get the documentation for a config value.
- getDownloadedPackages
- in file Downloader.php, method PEAR_Downloader::getDownloadedPackages()
Retrieve a list of downloaded packages after a call to download().
- getErrorClass
- in file Exception.php, method PEAR_Exception::getErrorClass()
- getErrorData
- in file Exception.php, method PEAR_Exception::getErrorData()
Return specific error information that can be used for more detailed error messages or translation.
- getErrorMessage
- in file ErrorStack.php, method PEAR_ErrorStack::getErrorMessage()
Standard error message generation callback
- getErrorMessageTemplate
- in file ErrorStack.php, method PEAR_ErrorStack::getErrorMessageTemplate()
Standard Error Message Template generator from code
- getErrorMethod
- in file Exception.php, method PEAR_Exception::getErrorMethod()
- getErrorMsgs
- in file Downloader.php, method PEAR_Downloader::getErrorMsgs()
- getErrors
- in file ErrorStack.php, method PEAR_ErrorStack::getErrors()
Retrieve all errors since last purge
- getExtra
- in file Guess.php, method OS_Guess::getExtra()
- getFileLine
- in file ErrorStack.php, method PEAR_ErrorStack::getFileLine()
Standard file/line number/function/class context callback
- getFileRoles
- in file Common.php, method PEAR_Common::getFileRoles()
Get the implemented file roles
- getFrontendObject
- in file Command.php, method PEAR_Command::getFrontendObject()
Get instance of frontend object.
- getGetoptArgs
- in file Common.php, method PEAR_Command_Common::getGetoptArgs()
- getGetoptArgs
- in file Command.php, method PEAR_Command::getGetoptArgs()
Compiles arguments for getopt.
- getGroup
- in file Config.php, method PEAR_Config::getGroup()
Get the parameter group for a config key.
- getGroupKeys
- in file Config.php, method PEAR_Config::getGroupKeys()
Get the list of the parameters in a group.
- getGroups
- in file Config.php, method PEAR_Config::getGroups()
Get the list of parameter groups.
- getHelp
- in file Common.php, method PEAR_Command_Common::getHelp()
Returns the help message for the given command
- getHelp
- in file Command.php, method PEAR_Command::getHelp()
Get help for command.
- getHelpArgs
- in file Common.php, method PEAR_Command_Common::getHelpArgs()
Returns the help for the accepted arguments of a command
- getKeys
- in file Config.php, method PEAR_Config::getKeys()
Get all the current config keys.
- getLayers
- in file Config.php, method PEAR_Config::getLayers()
Returns the layers defined (except the 'default' one)
- getMessage
- in file PEAR.php, method PEAR_Error::getMessage()
Get the error message from an error object.
- getMessageCallback
- in file ErrorStack.php, method PEAR_ErrorStack::getMessageCallback()
Get an error code => error message mapping callback
- getMode
- in file PEAR.php, method PEAR_Error::getMode()
Get the error mode from an error object.
- getNodename
- in file Guess.php, method OS_Guess::getNodename()
- getOptions
- in file Common.php, method PEAR_Command_Common::getOptions()
- getPackageDownloadUrl
- in file Downloader.php, method PEAR_Downloader::getPackageDownloadUrl()
- getPrompt
- in file Config.php, method PEAR_Config::getPrompt()
Get the short documentation for a config value.
- getProvideTypes
- in file Common.php, method PEAR_Common::getProvideTypes()
Get the implemented file replacement types in
- getRelease
- in file Guess.php, method OS_Guess::getRelease()
- getReleaseStates
- in file Common.php, method PEAR_Common::getReleaseStates()
Get the valid package release states of packages
- getReplacementTypes
- in file Common.php, method PEAR_Common::getReplacementTypes()
Get the implemented file replacement types in
- getScriptPhases
- in file Common.php, method PEAR_Common::getScriptPhases()
Get the implemented file replacement types in
- getSetValues
- in file Config.php, method PEAR_Config::getSetValues()
Get the list of allowed set values for a config value. Returns NULL for config values that are not sets.
- getShortcuts
- in file Command.php, method PEAR_Command::getShortcuts()
Get the list of command shortcuts.
- getShortcuts
- in file Common.php, method PEAR_Command_Common::getShortcuts()
Return a list of all the command shortcuts defined by this class.
- getSignature
- in file Guess.php, method OS_Guess::getSignature()
- getStaticProperty
- in file PEAR.php, method PEAR::getStaticProperty()
If you have a class that's mostly/entirely static, and you need static
- getSysname
- in file Guess.php, method OS_Guess::getSysname()
- getTraceSafe
- in file Exception.php, method PEAR_Exception::getTraceSafe()
- getType
- in file PEAR.php, method PEAR_Error::getType()
Get the name of this error/exception.
- getType
- in file Config.php, method PEAR_Config::getType()
Get the type of a config value.
- getUniqueId
- in file Exception.php, method PEAR_Exception::getUniqueId()
- getUserInfo
- in file PEAR.php, method PEAR_Error::getUserInfo()
Get additional user-supplied information.
- getUserRoles
- in file Common.php, method PEAR_Common::getUserRoles()
Get the valid roles for a PEAR package maintainer
- Guess.php
- procedural page Guess.php
top
top
i
- $installroot
- in file Installer.php, variable PEAR_Installer::$installroot
installation root directory (ala PHP's INSTALL_ROOT or
- infoFromAny
- in file Common.php, method PEAR_Common::infoFromAny()
Returns package information from different sources
- infoFromDescriptionFile
- in file Common.php, method PEAR_Common::infoFromDescriptionFile()
Returns information about a package file. Expects the name of a package xml file as input.
- infoFromString
- in file Common.php, method PEAR_Common::infoFromString()
Returns information about a package file. Expects the contents of a package xml file as input.
- infoFromTgzFile
- in file Common.php, method PEAR_Common::infoFromTgzFile()
Returns information about a package file. Expects the name of a gzipped tar file as input.
- install
- in file Installer.php, method PEAR_Installer::install()
Installs the files within the package file specified.
- isDefaulted
- in file Config.php, method PEAR_Config::isDefaulted()
Tells whether a config value has a system-defined value.
- isDefined
- in file Config.php, method PEAR_Config::isDefined()
Tells whether a given key exists as a config value.
- isDefinedLayer
- in file Config.php, method PEAR_Config::isDefinedLayer()
Tells whether a given config layer exists.
- isError
- in file PEAR.php, method PEAR::isError()
Tell whether a value is a PEAR error.
- isIncludeable
- in file Command.php, method PEAR_Command::isIncludeable()
- Install.php
- procedural page Install.php
- Installer.php
- procedural page Installer.php
top
l
- $layers
- in file Config.php, variable PEAR_Config::$layers
- $level
- in file PEAR.php, variable PEAR_Error::$level
- $lockfile
- in file Registry.php, variable PEAR_Registry::$lockfile
Name of file used for locking the registry
- $lock_fp
- in file Registry.php, variable PEAR_Registry::$lock_fp
File descriptor used during locking
- $lock_mode
- in file Registry.php, variable PEAR_Registry::$lock_mode
Mode used during locking
- $lp
- in file CLI.php, variable PEAR_Frontend_CLI::$lp
- listPackages
- in file Registry.php, method PEAR_Registry::listPackages()
- loadExtension
- in file PEAR.php, method PEAR::loadExtension()
OS independant PHP extension load. Remember to take care on the correct extension name for case sensitive OSes.
- log
- in file CLI.php, method PEAR_Frontend_CLI::log()
- log
- in file Common.php, method PEAR_Common::log()
Logging method.
- log
- in file Builder.php, method PEAR_Builder::log()
top
m
- $message
- in file PEAR.php, variable PEAR_Error::$message
- $mode
- in file PEAR.php, variable PEAR_Error::$mode
- matchSignature
- in file Guess.php, method OS_Guess::matchSignature()
- md5_file
- in file Installer.php, function md5_file()
- mergeConfigFile
- in file Config.php, method PEAR_Config::mergeConfigFile()
Merges data into a config layer from a file. Does the same thing as readConfigFile, except it does not replace all existing values in the config layer.
- mkDir
- in file System.php, method System::mkDir()
Make directories. Note that we use call_user_func('mkdir') to avoid a problem with ZE2 calling System::mkDir instead of the native PHP func.
- mkDirHier
- in file Installer.php, method PEAR_Installer::mkDirHier()
- mkDirHier
- in file Common.php, method PEAR_Common::mkDirHier()
Wrapper to System::mkDir(), creates a directory as well as any necessary parent directories.
- mktemp
- in file System.php, method System::mktemp()
Creates temporary files or directories. This function will remove the created files when the scripts finish its execution.
- mkTempDir
- in file Common.php, method PEAR_Common::mkTempDir()
Create and register a temporary directory.
- msdevCallback
- in file Builder.php, method PEAR_Builder::msdevCallback()
- Mirror.php
- procedural page Mirror.php
top
top
top
p
- $params
- in file CLI.php, variable PEAR_Frontend_CLI::$params
- $phpdir
- in file Installer.php, variable PEAR_Installer::$phpdir
directory where PHP code files go
- $php_api_version
- in file Builder.php, variable PEAR_Builder::$php_api_version
- $pkgdir
- in file Installer.php, variable PEAR_Installer::$pkgdir
name of the package directory, for example Foo-1.0
- $pkginfo
- in file Common.php, variable PEAR_Common::$pkginfo
assoc with information about a package
- $pkginfo_cache
- in file Registry.php, variable PEAR_Registry::$pkginfo_cache
Cache of package information. Structure:
- package
- in file Packager.php, method PEAR_Packager::package()
- packageExists
- in file Registry.php, method PEAR_Registry::packageExists()
- packageInfo
- in file Registry.php, method PEAR_Registry::packageInfo()
- parseSignature
- in file Guess.php, method OS_Guess::parseSignature()
- PATH_SEPARATOR
- in file PEAR.php, constant PATH_SEPARATOR
- PEAR
- in file PEAR.php, class PEAR
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
- PEAR
- in file PEAR.php, method PEAR::PEAR()
Constructor. Registers this object in $_PEAR_destructor_object_list for destructor emulation if a destructor object exists.
- Package.php
- procedural page Package.php
- Packager.php
- procedural page Packager.php
- PEAR.php
- procedural page PEAR.php
- pearcmd.php
- procedural page pearcmd.php
- PEAR_Autoloader
- in file Autoloader.php, class PEAR_Autoloader
This class is for objects where you want to separate the code for some methods into separate classes. This is useful if you have a class with not-frequently-used methods that contain lots of code that you would like to avoid always parsing.
- PEAR_Builder
- in file Builder.php, class PEAR_Builder
Class to handle building (compiling) extensions.
- PEAR_Builder
- in file Builder.php, method PEAR_Builder::PEAR_Builder()
PEAR_Builder constructor.
- PEAR_Command
- in file Command.php, class PEAR_Command
PEAR command class, a simple factory class for administrative commands.
- PEAR_Command_Auth
- in file Auth.php, class PEAR_Command_Auth
PEAR commands for managing configuration data.
- PEAR_Command_Auth
- in file Auth.php, method PEAR_Command_Auth::PEAR_Command_Auth()
PEAR_Command_Auth constructor.
- PEAR_Command_Build
- in file Build.php, method PEAR_Command_Build::PEAR_Command_Build()
PEAR_Command_Build constructor.
- PEAR_Command_Build
- in file Build.php, class PEAR_Command_Build
PEAR commands for building extensions.
- PEAR_Command_Common
- in file Common.php, class PEAR_Command_Common
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
- PEAR_Command_Common
- in file Common.php, method PEAR_Command_Common::PEAR_Command_Common()
PEAR_Command_Common constructor.
- PEAR_Command_Config
- in file Config.php, method PEAR_Command_Config::PEAR_Command_Config()
PEAR_Command_Config constructor.
- PEAR_Command_Config
- in file Config.php, class PEAR_Command_Config
PEAR commands for managing configuration data.
- PEAR_Command_Install
- in file Install.php, class PEAR_Command_Install
PEAR commands for installation or deinstallation/upgrading of packages.
- PEAR_Command_Install
- in file Install.php, method PEAR_Command_Install::PEAR_Command_Install()
PEAR_Command_Install constructor.
- PEAR_Command_Mirror
- in file Mirror.php, class PEAR_Command_Mirror
PEAR commands for providing file mirrors
- PEAR_Command_Mirror
- in file Mirror.php, method PEAR_Command_Mirror::PEAR_Command_Mirror()
PEAR_Command_Mirror constructor.
- PEAR_Command_Package
- in file Package.php, class PEAR_Command_Package
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
- PEAR_Command_Package
- in file Package.php, method PEAR_Command_Package::PEAR_Command_Package()
PEAR_Command_Package constructor.
- PEAR_Command_Registry
- in file Registry.php, method PEAR_Command_Registry::PEAR_Command_Registry()
PEAR_Command_Registry constructor.
- PEAR_Command_Registry
- in file Registry.php, class PEAR_Command_Registry
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
- PEAR_Command_Remote
- in file Remote.php, method PEAR_Command_Remote::PEAR_Command_Remote()
PEAR_Command_Remote constructor.
- PEAR_Command_Remote
- in file Remote.php, class PEAR_Command_Remote
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
- PEAR_Common
- in file Common.php, method PEAR_Common::PEAR_Common()
PEAR_Common constructor
- PEAR_Common
- in file Common.php, class PEAR_Common
Class providing common functionality for PEAR administration classes.
- PEAR_COMMON_ERROR_INVALIDPHP
- in file Common.php, constant PEAR_COMMON_ERROR_INVALIDPHP
PEAR_Common error when an invalid PHP file is passed to PEAR_Common::analyzeSourceCode()
- PEAR_COMMON_PACKAGE_DOWNLOAD_PREG
- in file Common.php, constant PEAR_COMMON_PACKAGE_DOWNLOAD_PREG
- PEAR_COMMON_PACKAGE_NAME_PREG
- in file Common.php, constant PEAR_COMMON_PACKAGE_NAME_PREG
- PEAR_COMMON_PACKAGE_VERSION_PREG
- in file Common.php, constant PEAR_COMMON_PACKAGE_VERSION_PREG
- PEAR_Config
- in file Config.php, class PEAR_Config
This is a class for storing configuration data, keeping track of which are system-defined, user-defined or defaulted.
- PEAR_Config
- in file Config.php, method PEAR_Config::PEAR_Config()
Constructor.
- PEAR_CONFIG_DEFAULT_BIN_DIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_BIN_DIR
- PEAR_CONFIG_DEFAULT_CACHE_DIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_CACHE_DIR
- PEAR_CONFIG_DEFAULT_CACHE_TTL
- in file Config.php, constant PEAR_CONFIG_DEFAULT_CACHE_TTL
- PEAR_CONFIG_DEFAULT_DATA_DIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_DATA_DIR
- PEAR_CONFIG_DEFAULT_DOC_DIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_DOC_DIR
- PEAR_CONFIG_DEFAULT_EXT_DIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_EXT_DIR
- PEAR_CONFIG_DEFAULT_HTTP_PROXY
- in file Config.php, constant PEAR_CONFIG_DEFAULT_HTTP_PROXY
- PEAR_CONFIG_DEFAULT_MASTER_SERVER
- in file Config.php, constant PEAR_CONFIG_DEFAULT_MASTER_SERVER
- PEAR_CONFIG_DEFAULT_PHP_BIN
- in file Config.php, constant PEAR_CONFIG_DEFAULT_PHP_BIN
- PEAR_CONFIG_DEFAULT_PHP_DIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_PHP_DIR
- PEAR_CONFIG_DEFAULT_PREFERRED_STATE
- in file Config.php, constant PEAR_CONFIG_DEFAULT_PREFERRED_STATE
- PEAR_CONFIG_DEFAULT_SIG_BIN
- in file Config.php, constant PEAR_CONFIG_DEFAULT_SIG_BIN
- PEAR_CONFIG_DEFAULT_SIG_KEYDIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_SIG_KEYDIR
- PEAR_CONFIG_DEFAULT_SIG_TYPE
- in file Config.php, constant PEAR_CONFIG_DEFAULT_SIG_TYPE
- PEAR_CONFIG_DEFAULT_TEST_DIR
- in file Config.php, constant PEAR_CONFIG_DEFAULT_TEST_DIR
- PEAR_CONFIG_DEFAULT_UMASK
- in file Config.php, constant PEAR_CONFIG_DEFAULT_UMASK
- PEAR_CONFIG_DEFAULT_VERBOSE
- in file Config.php, constant PEAR_CONFIG_DEFAULT_VERBOSE
- PEAR_CONFIG_SYSCONFDIR
- in file Config.php, constant PEAR_CONFIG_SYSCONFDIR
Last created PEAR_Config instance.
- PEAR_Dependency
- in file Dependency.php, class PEAR_Dependency
Dependency check for PEAR packages
- PEAR_Dependency
- in file Dependency.php, method PEAR_Dependency::PEAR_Dependency()
Constructor
- PEAR_DEPENDENCY_BAD_DEPENDENCY
- in file Dependency.php, constant PEAR_DEPENDENCY_BAD_DEPENDENCY
- PEAR_DEPENDENCY_CONFLICT
- in file Dependency.php, constant PEAR_DEPENDENCY_CONFLICT
- PEAR_DEPENDENCY_CONFLICT_OPTIONAL
- in file Dependency.php, constant PEAR_DEPENDENCY_CONFLICT_OPTIONAL
- PEAR_DEPENDENCY_MISSING
- in file Dependency.php, constant PEAR_DEPENDENCY_MISSING
- PEAR_DEPENDENCY_MISSING_OPTIONAL
- in file Dependency.php, constant PEAR_DEPENDENCY_MISSING_OPTIONAL
- PEAR_DEPENDENCY_UPGRADE_MAJOR
- in file Dependency.php, constant PEAR_DEPENDENCY_UPGRADE_MAJOR
- PEAR_DEPENDENCY_UPGRADE_MAJOR_OPTIONAL
- in file Dependency.php, constant PEAR_DEPENDENCY_UPGRADE_MAJOR_OPTIONAL
- PEAR_DEPENDENCY_UPGRADE_MINOR
- in file Dependency.php, constant PEAR_DEPENDENCY_UPGRADE_MINOR
- PEAR_DEPENDENCY_UPGRADE_MINOR_OPTIONAL
- in file Dependency.php, constant PEAR_DEPENDENCY_UPGRADE_MINOR_OPTIONAL
- PEAR_Downloader
- in file Downloader.php, method PEAR_Downloader::PEAR_Downloader()
- PEAR_Downloader
- in file Downloader.php, class PEAR_Downloader
Administration class used to download PEAR packages and maintain the installed package database.
- PEAR_Error
- in file PEAR.php, method PEAR_Error::PEAR_Error()
PEAR_Error constructor
- PEAR_Error
- in file PEAR.php, class PEAR_Error
- PEAR_ErrorStack
- in file ErrorStack.php, class PEAR_ErrorStack
Error Stack Implementation
- PEAR_ErrorStack
- in file ErrorStack.php, method PEAR_ErrorStack::PEAR_ErrorStack()
Set up a new error stack
- PEAR_ERRORSTACK_DIE
- in file ErrorStack.php, constant PEAR_ERRORSTACK_DIE
If this is returned, then the error is logged and die() is called.
- PEAR_ERRORSTACK_ERR_NONCLASS
- in file ErrorStack.php, constant PEAR_ERRORSTACK_ERR_NONCLASS
Error code for an attempt to instantiate a non-class as a PEAR_ErrorStack in the singleton method.
- PEAR_ERRORSTACK_ERR_OBJTOSTRING
- in file ErrorStack.php, constant PEAR_ERRORSTACK_ERR_OBJTOSTRING
Error code for an attempt to pass an object into PEAR_ErrorStack::getMessage()
- PEAR_ERRORSTACK_IGNORE
- in file ErrorStack.php, constant PEAR_ERRORSTACK_IGNORE
If this is returned, then the error is completely ignored.
- PEAR_ERRORSTACK_LOG
- in file ErrorStack.php, constant PEAR_ERRORSTACK_LOG
If this is returned, then the error will only be logged, but not pushed onto the error stack.
- PEAR_ERRORSTACK_PUSH
- in file ErrorStack.php, constant PEAR_ERRORSTACK_PUSH
If this is returned, then the error will only be pushed onto the stack, and not logged.
- PEAR_ERRORSTACK_PUSHANDLOG
- in file ErrorStack.php, constant PEAR_ERRORSTACK_PUSHANDLOG
If this is returned, then the error will be both pushed onto the stack and logged.
- PEAR_ERROR_CALLBACK
- in file PEAR.php, constant PEAR_ERROR_CALLBACK
- PEAR_ERROR_DIE
- in file PEAR.php, constant PEAR_ERROR_DIE
- PEAR_ERROR_EXCEPTION
- in file PEAR.php, constant PEAR_ERROR_EXCEPTION
WARNING: obsolete
- PEAR_ERROR_PRINT
- in file PEAR.php, constant PEAR_ERROR_PRINT
- PEAR_ERROR_RETURN
- in file PEAR.php, constant PEAR_ERROR_RETURN
- PEAR_ERROR_TRIGGER
- in file PEAR.php, constant PEAR_ERROR_TRIGGER
- PEAR_Exception
- in file Exception.php, class PEAR_Exception
Base PEAR_Exception Class
- PEAR_Frontend_CLI
- in file CLI.php, class PEAR_Frontend_CLI
Base class for other PEAR classes. Provides rudimentary emulation of destructors.
- PEAR_Frontend_CLI
- in file CLI.php, method PEAR_Frontend_CLI::PEAR_Frontend_CLI()
- PEAR_Installer
- in file Installer.php, class PEAR_Installer
Administration class used to install PEAR packages and maintain the installed package database.
- PEAR_Installer
- in file Installer.php, method PEAR_Installer::PEAR_Installer()
PEAR_Installer constructor.
- PEAR_INSTALLER_ERROR_NO_PREF_STATE
- in file Downloader.php, constant PEAR_INSTALLER_ERROR_NO_PREF_STATE
- PEAR_INSTALLER_FAILED
- in file Downloader.php, constant PEAR_INSTALLER_FAILED
- PEAR_INSTALLER_OK
- in file Downloader.php, constant PEAR_INSTALLER_OK
- PEAR_INSTALLER_SKIPPED
- in file Downloader.php, constant PEAR_INSTALLER_SKIPPED
- PEAR_OS
- in file PEAR.php, constant PEAR_OS
- PEAR_Packager
- in file Packager.php, class PEAR_Packager
Administration class used to make a PEAR release tarball.
- PEAR_Packager
- in file Packager.php, method PEAR_Packager::PEAR_Packager()
- PEAR_Registry
- in file Registry.php, class PEAR_Registry
Administration class used to maintain the installed package database.
- PEAR_Registry
- in file Registry.php, method PEAR_Registry::PEAR_Registry()
PEAR_Registry constructor.
- PEAR_REGISTRY_ERROR_FILE
- in file Registry.php, constant PEAR_REGISTRY_ERROR_FILE
- PEAR_REGISTRY_ERROR_FORMAT
- in file Registry.php, constant PEAR_REGISTRY_ERROR_FORMAT
- PEAR_REGISTRY_ERROR_LOCK
- in file Registry.php, constant PEAR_REGISTRY_ERROR_LOCK
- PEAR_Remote
- in file Remote.php, class PEAR_Remote
This is a class for doing remote operations against the central PEAR database.
- PEAR_Remote
- in file Remote.php, method PEAR_Remote::PEAR_Remote()
- PEAR_RunTest
- in file RunTest.php, class PEAR_RunTest
- PEAR_RunTest
- in file RunTest.php, method PEAR_RunTest::PEAR_RunTest()
An object that supports the PEAR_Common->log() signature, or null
- PEAR_ZE2
- in file PEAR.php, constant PEAR_ZE2
- phpizeCallback
- in file Builder.php, method PEAR_Builder::phpizeCallback()
Message callback function used when running the "phpize" program. Extracts the API numbers used. Ignores other message types than "cmdoutput".
- pop
- in file ErrorStack.php, method PEAR_ErrorStack::pop()
Pop an error off of the error stack
- popCallback
- in file ErrorStack.php, method PEAR_ErrorStack::popCallback()
Remove a callback from the error callback stack
- popErrorHandling
- in file PEAR.php, method PEAR::popErrorHandling()
Pop the last error handler used
- popExpect
- in file PEAR.php, method PEAR::popExpect()
This method pops one element off the expected error codes stack.
- push
- in file ErrorStack.php, method PEAR_ErrorStack::push()
Add an error to the stack
- pushCallback
- in file ErrorStack.php, method PEAR_ErrorStack::pushCallback()
Set an error Callback If set to a valid callback, this will be called every time an error is pushed onto the stack. The return value will be used to determine whether to allow an error to be pushed or logged.
- pushError
- in file Downloader.php, method PEAR_Downloader::pushError()
- pushErrorHandling
- in file PEAR.php, method PEAR::pushErrorHandling()
Push a new error handler on top of the error handler options stack. With this you can easily override the actual error handler for some code and restore it later with popErrorHandling.
top
r
- $registry
- in file Installer.php, variable PEAR_Installer::$registry
PEAR_Registry object used by the installer
- $release
- in file Guess.php, variable OS_Guess::$release
- Registry.php
- procedural page Registry.php
- Remote.php
- procedural page Remote.php
- Registry.php
- procedural page Registry.php
- Remote.php
- procedural page Remote.php
- RunTest.php
- procedural page RunTest.php
- raiseError
- in file PEAR.php, method PEAR::raiseError()
This method is a wrapper that returns an instance of the configured error class with this object's default error handling applied. If the $mode and $options parameters are not specified, the object's defaults are used.
- raiseError
- in file ErrorStack.php, method PEAR_ErrorStack::raiseError()
emulate PEAR::raiseError()
- readConfigFile
- in file Config.php, method PEAR_Config::readConfigFile()
Reads configuration data from a file. All existing values in the config layer are discarded and replaced with data from the file.
- readFileMap
- in file Registry.php, method PEAR_Registry::readFileMap()
- rebuildFileMap
- in file Registry.php, method PEAR_Registry::rebuildFileMap()
- registerCommands
- in file Command.php, method PEAR_Command::registerCommands()
Scan through the Command directory looking for classes and see what commands they implement.
- registerShutdownFunc
- in file PEAR.php, method PEAR::registerShutdownFunc()
Use this function to register a shutdown method for static classes.
- remove
- in file Config.php, method PEAR_Config::remove()
Remove the a config key from a specific config layer.
- removeAggregateObject
- in file Autoloader.php, method PEAR_Autoloader::removeAggregateObject()
Remove an aggregate object.
- removeAutoload
- in file Autoloader.php, method PEAR_Autoloader::removeAutoload()
Remove an autoload entry.
- removeLayer
- in file Config.php, method PEAR_Config::removeLayer()
Temporarily remove an entire config layer. USE WITH CARE!
- removeObserver
- in file Exception.php, method PEAR_Exception::removeObserver()
- rm
- in file System.php, method System::rm()
The rm command for removing files.
- rollbackFileTransaction
- in file Installer.php, method PEAR_Installer::rollbackFileTransaction()
- run
- in file Common.php, method PEAR_Command_Common::run()
- run
- in file RunTest.php, method PEAR_RunTest::run()
top
s
- $source_analyzer
- in file Common.php, variable PEAR_Common::$source_analyzer
PEAR_SourceAnalyzer instance
- $statedir
- in file Registry.php, variable PEAR_Registry::$statedir
Directory where registry files are stored.
- $sysname
- in file Guess.php, variable OS_Guess::$sysname
- System.php
- procedural page System.php
- saveCache
- in file Remote.php, method PEAR_Remote::saveCache()
- save_text
- in file RunTest.php, method PEAR_RunTest::save_text()
- set
- in file Config.php, method PEAR_Config::set()
Set a config value in a specific layer (defaults to 'user').
- setContextCallback
- in file ErrorStack.php, method PEAR_ErrorStack::setContextCallback()
Set a callback that generates context information (location of error) for an error stack
- setDefaultCallback
- in file ErrorStack.php, method PEAR_ErrorStack::setDefaultCallback()
Sets a default callback to be used by all error stacks
- setDefaultLogger
- in file ErrorStack.php, method PEAR_ErrorStack::setDefaultLogger()
Set up a PEAR::Log object for all error stacks that don't have one
- setErrorHandling
- in file PEAR.php, method PEAR::setErrorHandling()
Sets how errors generated by this object should be handled.
- setErrorMessageTemplate
- in file ErrorStack.php, method PEAR_ErrorStack::setErrorMessageTemplate()
Set the Error Message Template array
- setFrontendClass
- in file Command.php, method PEAR_Command::setFrontendClass()
Load current frontend class.
- setFrontendObject
- in file Common.php, method PEAR_Common::setFrontendObject()
Set object that represents the frontend to be used.
- setFrontendType
- in file Command.php, method PEAR_Command::setFrontendType()
Set current frontend.
- setLogger
- in file ErrorStack.php, method PEAR_ErrorStack::setLogger()
Set up a PEAR::Log object for this error stack
- setMessageCallback
- in file ErrorStack.php, method PEAR_ErrorStack::setMessageCallback()
Set an error code => error message mapping callback
- setOptions
- in file Downloader.php, method PEAR_Downloader::setOptions()
- signOperator
- in file Dependency.php, method PEAR_Dependency::signOperator()
Converts text comparing operators to them sign equivalents
- singleton
- in file Config.php, method PEAR_Config::singleton()
Static singleton method. If you want to keep only one instance of this class in use, this method will give you a reference to the last created PEAR_Config object if one exists, or create a new object.
- singleton
- in file ErrorStack.php, method PEAR_ErrorStack::singleton()
Return a single error stack for this package.
- sortPkgDeps
- in file Common.php, method PEAR_Common::sortPkgDeps()
Sort a list of arrays of array(downloaded packagefilename) by dependency.
- startFileTransaction
- in file Installer.php, method PEAR_Installer::startFileTransaction()
- startTable
- in file CLI.php, method PEAR_Frontend_CLI::startTable()
- staticGetErrors
- in file ErrorStack.php, method PEAR_ErrorStack::staticGetErrors()
Get a list of all errors since last purge, organized by package
- staticHasErrors
- in file ErrorStack.php, method PEAR_ErrorStack::staticHasErrors()
Determine whether there are any errors on a single error stack, or on any error stack
- staticPopCallback
- in file ErrorStack.php, method PEAR_ErrorStack::staticPopCallback()
Remove a temporary overriding error callback
- staticPopErrorHandling
- in file PEAR.php, method PEAR::staticPopErrorHandling()
- staticPush
- in file ErrorStack.php, method PEAR_ErrorStack::staticPush()
Static version of push()
- staticPushCallback
- in file ErrorStack.php, method PEAR_ErrorStack::staticPushCallback()
Set a temporary overriding error callback for every package error stack
- staticPushErrorHandling
- in file PEAR.php, method PEAR::staticPushErrorHandling()
- store
- in file Config.php, method PEAR_Config::store()
Stores configuration data in a layer.
- System
- in file System.php, class System
System offers cross plattform compatible system functions
top
t
- $term
- in file CLI.php, variable PEAR_Frontend_CLI::$term
- $tmpdir
- in file Installer.php, variable PEAR_Installer::$tmpdir
temporary directory
- $type
- in file CLI.php, variable PEAR_Frontend_CLI::$type
What type of user interface this frontend is for.
- tableRow
- in file CLI.php, method PEAR_Frontend_CLI::tableRow()
- throwError
- in file PEAR.php, method PEAR::throwError()
Simpler form of raiseError with fewer options. In most cases message, code and userinfo are enough.
- tmpdir
- in file System.php, method System::tmpdir()
Get the path of the temporal directory set in the system by looking in its environments variables.
- toDefault
- in file Config.php, method PEAR_Config::toDefault()
Unset the user-defined value of a config key, reverting the value to the system-defined one.
- toHtml
- in file Exception.php, method PEAR_Exception::toHtml()
- toString
- in file PEAR.php, method PEAR_Error::toString()
Make a string representation of this object.
- toText
- in file Exception.php, method PEAR_Exception::toText()
top
u
- $ui
- in file Common.php, variable PEAR_Command_Common::$ui
User Interface object, for all interaction with the user.
- $ui
- in file Common.php, variable PEAR_Common::$ui
User Interface object (PEAR_Frontend_* class). If null, the log() method uses print.
- $userinfo
- in file PEAR.php, variable PEAR_Error::$userinfo
- uninstall
- in file Installer.php, method PEAR_Installer::uninstall()
Uninstall a package
- updatePackage
- in file Registry.php, method PEAR_Registry::updatePackage()
- usage
- in file pearcmd.php, function usage()
- userConfirm
- in file CLI.php, method PEAR_Frontend_CLI::userConfirm()
- userDialog
- in file CLI.php, method PEAR_Frontend_CLI::userDialog()
top
top
top
x
- xmlFromInfo
- in file Common.php, method PEAR_Common::xmlFromInfo()
Return an XML document based on the package info (as returned by the PEAR_Common::infoFrom* methods).
top
top
_
- $_contextCallback
- in file ErrorStack.php, variable PEAR_ErrorStack::$_contextCallback
If set to a valid callback, this will be used to generate the error
- $_errorCallback
- in file ErrorStack.php, variable PEAR_ErrorStack::$_errorCallback
If set to a valid callback, this will be called every time an error is pushed onto the stack. The return value will be used to determine whether to allow an error to be pushed or logged.
- $_logger
- in file ErrorStack.php, variable PEAR_ErrorStack::$_logger
PEAR::Log object for logging errors
- $_package
- in file ErrorStack.php, variable PEAR_ErrorStack::$_package
Package name this error stack represents
- _log
- in file ErrorStack.php, method PEAR_ErrorStack::_log()
Log an error using PEAR::Log
- _packageFileName
- in file Registry.php, method PEAR_Registry::_packageFileName()
Get the name of the file where data for a given package is stored.
- _PEAR
- in file PEAR.php, method PEAR::_PEAR()
Destructor (the emulated type of...). Does nothing right now, but is included for forward compatibility, so subclass destructors should always call it.
- _PEAR_call_destructors
- in file PEAR.php, function _PEAR_call_destructors()
- _PEAR_COMMON_PACKAGE_NAME_PREG
- in file Common.php, constant _PEAR_COMMON_PACKAGE_NAME_PREG
- _PEAR_COMMON_PACKAGE_VERSION_PREG
- in file Common.php, constant _PEAR_COMMON_PACKAGE_VERSION_PREG
- _PEAR_Packager
- in file Packager.php, method PEAR_Packager::_PEAR_Packager()
- __call
- in file Autoloader.php, method PEAR_Autoloader::__call()
Overloaded object call handler, called each time an undefined/aggregated method is invoked. This method repeats the call in the right aggregate object and passes on the return value.
- __construct
- in file Exception.php, method PEAR_Exception::__construct()
Supported signatures:
- __toString
- in file Exception.php, method PEAR_Exception::__toString()
top
Documentation generated on Mon, 11 Mar 2019 14:23:54 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|
|