public function RestfulBase::access in RESTful 7
Determine if user can access the handler.
Return value
bool TRUE if the current request has access to the requested resource. FALSE otherwise.
Overrides RestfulInterface::access
2 calls to RestfulBase::access()
- RestfulCsrfTokenResource::access in plugins/
restful/ csrf/ RestfulCsrfTokenResource.class.php - Overrides RestfulBase::access().
- RestfulFilesUpload::access in plugins/
restful/ RestfulFilesUpload.php - Overrides RestfulEntityBase::access().
4 methods override RestfulBase::access()
- RestfulCsrfTokenResource::access in plugins/
restful/ csrf/ RestfulCsrfTokenResource.class.php - Overrides RestfulBase::access().
- RestfulFilesUpload::access in plugins/
restful/ RestfulFilesUpload.php - Overrides RestfulEntityBase::access().
- RestfulVariableResource::access in modules/
restful_example/ plugins/ restful/ variable/ 1.0/ RestfulVariableResource.class.php - Determine if user can access the handler.
- RestfulWatchdogResource::access in modules/
restful_example/ plugins/ restful/ db_query/ watchdog/ 1.0/ RestfulWatchdogResource.class.php - Determine if user can access the handler.
File
- plugins/
restful/ RestfulBase.php, line 1156 - Contains RestfulBase.
Class
- RestfulBase
- Class \RestfulBase
Code
public function access() {
return $this
->accessByAllowOrigin();
}