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

Class: PEAR_REST_11

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

Class Overview


Implement REST 1.1


Author(s):

Version:

  • Release: 1.10.12

Copyright:

  • 1997-2009 The Authors

Methods


Inherited Variables

Inherited Methods


Class Details

[line 33]
Implement REST 1.1


[ Top ]


Method Detail

__construct (Constructor)   [line 40]

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


Parameters:

   $config   — 
   $options   — 

[ Top ]

betterStates   [line 327]

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 45]

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


Parameters:

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

[ Top ]

listCategories   [line 226]

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 253]

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 Sun, 19 Apr 2020 14:22:12 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.