Class Zend_Service_Rest

Description

Located in /Zend/Service/Rest.php (line 32)

Zend_Service_Abstract
   |
   --Zend_Service_Rest
Variable Summary
Method Summary
 Zend_Http_Response restDelete (string $path)
 Zend_Http_Response restGet (string $path, [mixed $query = null])
 Zend_Http_Response restPost (string $path, array $data)
 Zend_Http_Response restPut (string $path, array $data)
 Zend_Uri setUri (string|Zend_Uri $uri)
 void _prepareRest (string $path, mixed $query)
Variables
Zend_Uri_Http $_uri = null (line 39)

Zend_Uri of this web service

  • access: protected

Inherited Variables

Inherited from Zend_Service_Abstract

Zend_Service_Abstract::$_httpClient
Methods
restDelete (line 142)

Performs an HTTP DELETE request to $path.

  • access: public
Zend_Http_Response restDelete (string $path)
  • string $path
restGet (line 99)

Performs an HTTP GET request to the $path.

  • access: public
Zend_Http_Response restGet (string $path, [mixed $query = null])
  • string $path
restPost (line 113)

Performs an HTTP POST request to $path.

  • access: public
Zend_Http_Response restPost (string $path, array $data)
  • string $path
  • array $data
restPut (line 128)

Performs an HTTP PUT request to $path.

  • access: public
Zend_Http_Response restPut (string $path, array $data)
  • string $path
  • array $data
setUri (line 83)

Sets the URI for the web service.

  • access: public
Zend_Uri setUri (string|Zend_Uri $uri)
_prepareRest (line 49)

Call a remote REST web service URI and return the Zend_Http_Response object

  • access: private
  • throws: Zend_Service_Exception
void _prepareRest (string $path, mixed $query)
  • string $path: The path to append to the URI

Inherited Methods

Inherited From Zend_Service_Abstract

 Zend_Service_Abstract::getHttpClient()
 Zend_Service_Abstract::setHttpClient()

Documentation generated on Tue, 18 Apr 2006 11:55:31 -0700 by phpDocumentor 1.3.0RC3