Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
array $_data = 'array'Data for the query
DetailsZend_Uri_Http $_uri = 'null'Zend_Uri of this web service
Details__call(
string $method, array $args
)
:
Zend_Rest_Client_Result|Zend_Rest_ClientMethod call overload
Allows calling REST actions as object methods; however, you must
follow-up by chaining the request with a request to an HTTP request
method (post, get, delete, put):
$response = $rest->sayHello('Foo', 'Manchu')->get();
Or use them together, but in sequential calls:
$rest->sayHello('Foo', 'Manchu');
$response = $rest->get();
Details__construct(
string|Zend_Uri_Http $uri
=
null
)
:
voidConstructor
Details_performPost(
mixed $method, mixed $data
=
null
)
:
Zend_Http_ResponsePerform a POST or PUT
Performs a POST or PUT request. Any data provided is set in the HTTP client. String data is pushed in as raw POST data; array or object data is pushed in as POST parameters.
Details_prepareRest(
string $path
)
:
voidCall a remote REST web service URI and return the Zend_Http_Response object
DetailsgetUri(
)
:
Zend_Uri_HttpRetrieve the current request URI object
DetailsrestDelete(
string $path
)
:
Zend_Http_ResponsePerforms an HTTP DELETE request to $path.
DetailsrestGet(
string $path, array $query
=
null
)
:
Zend_Http_ResponsePerforms an HTTP GET request to the $path.
DetailsrestPost(
string $path, mixed $data
=
null
)
:
Zend_Http_ResponsePerforms an HTTP POST request to $path.
DetailsrestPut(
string $path, mixed $data
=
null
)
:
Zend_Http_ResponsePerforms an HTTP PUT request to $path.
DetailssetUri(
string|Zend_Uri_Http $uri
)
:
Zend_Rest_ClientSet the URI to use in the request
Details