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

Class: PEAR_PackageUpdate_Adapter

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

Class Overview


Base class for PEAR_PackageUpdate adapters


Author(s):

Version:

  • Release: 1.1.0RC1

Methods


Child classes:

PEAR_PackageUpdate_Adapter_XmlRPC
XMLRPC-based adapter for PEAR_PackageUpdate
PEAR_PackageUpdate_Adapter_REST
REST-based adapter for PEAR_PackageUpdate

Inherited Variables

Inherited Methods


Class Details

[line 37]
Base class for PEAR_PackageUpdate adapters

PEAR_PackageUpdate class itself only defines methods for aggregating the request data, all actual work of sending the request to the remote server and receiving its response is performed by adapters.



[ Top ]


Method Detail

sendRequest   [line 65]

mixed sendRequest( string $request)

Sends request to the remote server

Sends request to the remote server and returns its response

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

Overridden in child classes as:

PEAR_PackageUpdate_Adapter_XmlRPC::sendRequest()
Sends request to the remote server
PEAR_PackageUpdate_Adapter_REST::sendRequest()
Sends request to the remote server

Parameters:

string   $request     Remote request id to proceed

[ Top ]

supports   [line 49]

bool supports( )

Check if the protocol asked is supported

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

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

Overridden in child classes as:

PEAR_PackageUpdate_Adapter_XmlRPC::supports()
Check if the protocol asked is supported
PEAR_PackageUpdate_Adapter_REST::supports()
Check if the protocol asked is supported

[ Top ]


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