public function RestWSResourceControllerInterface::read in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.entity.inc \RestWSResourceControllerInterface::read()
Returns an existing resource.
Parameters
int|string $id: The id of the resource that should be returned.
Return value
The internal representation of the resource.
2 methods override RestWSResourceControllerInterface::read()
- MyModuleBookResourceController::read in ./
restws.api.php - RestWSEntityResourceController::read in ./
restws.entity.inc - Returns an existing resource.
File
- ./
restws.entity.inc, line 51 - RESTful web services module integration for entities.
Class
- RestWSResourceControllerInterface
- Specifies CRUD and access methods for resources.
Code
public function read($id);