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

Class: PEAR_PackageUpdate_Adapter_REST

Source Location: /PEAR_PackageUpdate-1.1.0RC1/PackageUpdate/Adapter/REST.php

Class Overview

PEAR_PackageUpdate_Adapter
   |
   --PEAR_PackageUpdate_Adapter_REST

REST-based adapter for PEAR_PackageUpdate


Author(s):

Version:

  • Release: 1.1.0RC1

Variables

Methods


Inherited Variables

Inherited Methods

Class: PEAR_PackageUpdate_Adapter

PEAR_PackageUpdate_Adapter::sendRequest()
Sends request to the remote server
PEAR_PackageUpdate_Adapter::supports()
Check if the protocol asked is supported

Class Details

[line 30]
REST-based adapter for PEAR_PackageUpdate


[ Top ]


Class Variables

$channel =

[line 32]


Type:   mixed


[ Top ]

$config =

[line 33]


Type:   mixed


[ Top ]

$ppu =

[line 34]


Type:   mixed


[ Top ]



Method Detail

PEAR_PackageUpdate_Adapter_REST (Constructor)   [line 36]

PEAR_PackageUpdate_Adapter_REST PEAR_PackageUpdate_Adapter_REST( &$config, &$ppu)


Parameters:

   &$config     
   &$ppu     

[ Top ]

sendRequest   [line 82]

mixed sendRequest( string $request)

Sends request to the remote server

Sends request to the remote server and returns its response

  • Since: version 1.1.0a1 (2009-02-28)
  • Access: public

Overrides PEAR_PackageUpdate_Adapter::sendRequest() (Sends request to the remote server)

Parameters:

string   $request     Remote request id to proceed

[ Top ]

supports   [line 52]

bool supports( )

Check if the protocol asked is supported

Check if the protocol asked is supported by default or package channel

  • Since: version 1.1.0a1 (2009-02-28)
  • Access: public

Overrides PEAR_PackageUpdate_Adapter::supports() (Check if the protocol asked is supported)
[ Top ]


Documentation generated on Thu, 07 May 2009 22:00:04 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.