[ Index ] |
|
Code source de PHP PEAR 1.4.5 |
[Code source] [Imprimer] [Statistiques]
PEAR_REST_10 PHP versions 4 and 5
Author: | Greg Beaver <cellog@php.net> |
Copyright: | 1997-2006 The PHP Group |
License: | http://www.php.net/license/3_0.txt PHP License 3.0 |
Version: | CVS: $Id: 10.php,v 1.43 2006/11/01 05:09:05 cellog Exp $ |
Poids: | 684 lignes (27 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 2 fichiers PEAR/REST.php PEAR/PackageFile/v2.php |
PEAR_REST_10:: (9 méthodes):
PEAR_REST_10()
getDownloadURL()
getDepDownloadURL()
_returnDownloadURL()
listPackages()
listAll()
listLatestUpgrades()
packageInfo()
betterStates()
Classe: PEAR_REST_10 - X-Ref
Implement REST 1.0PEAR_REST_10($config, $options = array() X-Ref |
getDownloadURL($base, $packageinfo, $prefstate, $installed) X-Ref |
Retrieve information about a remote package to be downloaded from a REST server param: string $base The uri to prepend to all REST calls param: array $packageinfo an array of format: param: string $prefstate Current preferred_state config variable value param: bool $installed the installed version of this package to compare against return: array|false|PEAR_Error see {@link _returnDownloadURL()} |
getDepDownloadURL($base, $xsdversion, $dependency, $deppackage,$prefstate = 'stable', $installed = false) X-Ref |
Pas de description |
_returnDownloadURL($base, $package, $release, $info, $found) X-Ref |
Take raw data and return the array needed for processing a download URL param: string $base REST base uri param: string $package Package name param: array $release an array of format array('v' => version, 's' => state) param: array $info list of all releases as defined by allreleases.xml param: bool $found determines whether the release was found or this is the next return: array|PEAR_Error |
listPackages($base) X-Ref |
Pas de description |
listAll($base, $dostable, $basic = true, $searchpackage = false, $searchsummary = false) X-Ref |
Pas de description |
listLatestUpgrades($base, $state, $installed, $channel, &$reg) X-Ref |
Pas de description |
packageInfo($base, $package) X-Ref |
Pas de description |
betterStates($state, $include = false) X-Ref |
Return an array containing all of the states that are more stable than or equal to the passed in state param: string Release state param: boolean Determines whether to include $state in the list return: false|array False if $state is not a valid release state |
Généré le : Sun Feb 25 14:08:00 2007 | par Balluche grâce à PHPXref 0.7 |