public function RestWSFormatInterface::queryResource in RESTful Web Services 7.2
Query for a resource.
If a format doesn't want to implement querying, then it should throw an RestWSException with the 501 HTTP status code.
Parameters
RestWSResourceControllerInterface $resourceController: The controller used to query the resource.
array $payload: An optional way to pass the query parameters.
Return value
string The serialized representation of a list of resources.
1 method overrides RestWSFormatInterface::queryResource()
File
- ./
restws.formats.inc, line 75 - RESTful web services module formats.
Class
- RestWSFormatInterface
- Interface implemented by formatter implementations for the http client.
Code
public function queryResource($resourceController, $payload);