public function RestWSResourceControllerInterface::access in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.entity.inc \RestWSResourceControllerInterface::access()
Determines access for a given operation and resource.
Parameters
string $op: Either 'create', 'view' (= read), 'update' or 'delete'.
int|string $id: The id of the resource.
See also
2 methods override RestWSResourceControllerInterface::access()
- MyModuleBookResourceController::access in ./restws.api.php 
- RestWSEntityResourceController::access in ./restws.entity.inc 
- Determines access for a given operation and resource.
File
- ./restws.entity.inc, line 82 
- RESTful web services module integration for entities.
Class
- RestWSResourceControllerInterface
- Specifies CRUD and access methods for resources.
Code
public function access($op, $id);