PEAR
[ class tree: PEAR ] [ index: PEAR ] [ all elements ]

Class: PEAR_REST_11

Source Location: /PEAR-1.9.5/PEAR/REST/11.php

Class Overview


Implement REST 1.1


Author(s):

Version:

  • Release: 1.9.5

Copyright:

  • 1997-2009 The Authors

Methods


Inherited Variables

Inherited Methods


Class Details

[line 34]
Implement REST 1.1


[ Top ]


Method Detail

PEAR_REST_11 (Constructor)   [line 41]

PEAR_REST_11 PEAR_REST_11( $config, [ $options = array()])


Parameters:

   $config     
   $options     

[ Top ]

betterStates   [line 328]

false|array betterStates( string $state, [boolean $include = false])

Return an array containing all of the states that are more stable than or equal to the passed in state
  • Return: False if $state is not a valid release state

Parameters:

string   $state     Release state
boolean   $include     Determines whether to include $state in the list

[ Top ]

listAll   [line 46]

void listAll( $base, $dostable, [ $basic = true], [ $searchpackage = false], [ $searchsummary = false], [ $channel = false])


Parameters:

   $base     
   $dostable     
   $basic     
   $searchpackage     
   $searchsummary     
   $channel     

[ Top ]

listCategories   [line 227]

array listCategories( string $base, [ $channel = false])

List all categories of a REST server
  • Return: of categorynames

Parameters:

string   $base     base URL of the server
   $channel     

[ Top ]

listCategory   [line 254]

array listCategory( string $base, string $category, [boolean $info = false], [ $channel = false])

List packages in a category of a REST server
  • Return: of packagenames

Parameters:

string   $base     base URL of the server
string   $category     name of the category
boolean   $info     also download full package info
   $channel     

[ Top ]


Documentation generated on Sat, 12 Jul 2014 14:00:19 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.