Метод |
Описание |
|
PEAR_Downloader_Package ( &$downloader ) |
|
|
_analyzeDownloadURL ( $info, $param, $pname, $params = null, $optional = false, $isdependency = false ) |
|
|
_detect1 ( $deps, $pname, $options, $params ) |
|
|
_detect2 ( $deps, $pname, $options, $params ) |
|
|
_detect2Dep ( $dep, $pname, $group, $params ) |
|
|
_fromFile ( &$param ) |
This will retrieve from a local file if possible, and parse out
a group name as well. The original parameter will be modified to reflect this. |
|
_fromString ( $param ) |
|
|
_fromUrl ( $param, $saveparam = '' ) |
|
|
alreadyValidated ( ) |
|
|
canDefault ( ) |
|
|
detectDependencies ( $params ) |
|
|
detectStupidDuplicates ( array $params, array &$errorparams ) : array |
Detect duplicate package names with differing versions |
|
download ( ) : PEAR_PackageFile_v1 | PEAR_PackageFile_v2 | PEAR_Error |
Retrieve any non-local packages |
|
explicitState ( ) |
|
|
fromDepURL ( $dep ) |
Like {@link initialize()}, but operates on a dependency |
|
getChannel ( ) |
|
|
getDeps ( ) |
|
|
getDownloadURL ( ) |
|
|
getDownloader ( ) |
|
|
getGroup ( ) |
|
|
getPackage ( ) |
|
|
getPackageFile ( ) |
|
|
getPackageType ( ) |
|
|
getPackageXmlVersion ( ) |
|
|
getPackagefileObject ( &$c, $d ) |
For simpler unit-testing |
|
getParsedPackage ( ) |
|
|
getShortName ( ) |
|
|
getType ( ) |
|
|
getURI ( ) |
|
|
getVersion ( ) |
|
|
initialize ( $param ) : boolean | PEAR_Error |
Parse the input and determine whether this is a local file, a remote uri, or an
abstract package name. |
|
isBundle ( ) |
|
|
isCompatible ( $pf ) |
|
|
isEqual ( $param ) |
|
|
isExtension ( $name ) |
|
|
isInstalled ( $dep, $oper = '==' ) |
|
|
isSubpackage ( &$pf ) |
|
|
mergeDependencies ( &$params ) |
|
|
removeDuplicates ( &$params, $ignoreGroups = false ) |
|
|
removeInstalled ( &$params ) |
Remove packages to be downloaded that are already installed |
|
setDownloadURL ( $pkg ) |
|
|
setExplicitState ( $s ) |
|
|
setGroup ( $group ) |
|
|
setPackageFile ( PEAR_PackageFile_v1 | PEAR_PackageFile_v2 &$pkg ) |
Set the package.xml object for this downloaded package |
|
setValidated ( ) |
|
|
willDownload ( $param, $params ) |
|
|