![]() |
Bearsampp 2026.9.23
|
Public Member Functions | |
| getDepDownloadURL ($base, $xsdversion, $dependency, $deppackage, $prefstate='stable', $installed=false, $channel=false) | |
| getDownloadURL ($base, $packageinfo, $prefstate, $installed, $channel=false) | |
| listLatestUpgrades ($base, $pref_state, $installed, $channel, &$reg) | |
| Public Member Functions inherited from PEAR_REST_10 | |
| __construct ($config, $options=array()) | |
| _returnDownloadURL ($base, $package, $release, $info, $found, $phpversion=false, $channel=false) | |
| _sortReleasesByVersionNumber ($a, $b) | |
| betterStates ($state, $include=false) | |
| listAll ($base, $dostable, $basic=true, $searchpackage=false, $searchsummary=false, $channel=false) | |
| listCategories ($base, $channel=false) | |
| listCategory ($base, $category, $info=false, $channel=false) | |
| listPackages ($base, $channel=false) | |
| packageInfo ($base, $package, $channel=false) | |
Additional Inherited Members | |
| Data Fields inherited from PEAR_REST_10 | |
| $_rest | |
| getDepDownloadURL | ( | $base, | |
| $xsdversion, | |||
| $dependency, | |||
| $deppackage, | |||
| $prefstate = 'stable', | |||
| $installed = false, | |||
| $channel = false ) |
Reimplemented from PEAR_REST_10.
Definition at line 144 of file 13.php.
References PEAR_REST_10\_returnDownloadURL(), and PEAR_REST_10\betterStates().
| getDownloadURL | ( | $base, | |
| $packageinfo, | |||
| $prefstate, | |||
| $installed, | |||
| $channel = false ) |
Retrieve information about a remote package to be downloaded from a REST server
This is smart enough to resolve the minimum PHP version dependency prior to download
| string | $base | The uri to prepend to all REST calls |
| array | $packageinfo | an array of format: array( 'package' => 'packagename', 'channel' => 'channelname', ['state' => 'alpha' (or valid state),] -or- ['version' => '1.whatever'] |
| string | $prefstate | Current preferred_state config variable value |
| bool | $installed | the installed version of this package to compare against |
_returnDownloadURL() Reimplemented from PEAR_REST_10.
Definition at line 54 of file 13.php.
References PEAR_REST_10\_returnDownloadURL(), and PEAR_REST_10\betterStates().
| listLatestUpgrades | ( | $base, | |
| $pref_state, | |||
| $installed, | |||
| $channel, | |||
| & | $reg ) |
List package upgrades but take the PHP version into account.
Reimplemented from PEAR_REST_10.
Definition at line 302 of file 13.php.
References PEAR_REST_10\betterStates(), and PEAR_ERROR_RETURN.