You are here

constant RestfulInterface::ACCESS_DENY in RESTful 7

Return this value from public field access callbacks to deny access.

2 uses of RestfulInterface::ACCESS_DENY
RestfulEntityAndPropertyAccessTestCase::publicFieldAccessFalse in tests/RestfulEntityAndPropertyAccessTestCase.test
An access callback that returns TRUE if title is "access". Otherwise FALSE.
RestfulEntityBase::checkPropertyAccessByAccessCallbacks in plugins/restful/RestfulEntityBase.php
Check access on property by the defined access callbacks.

File

plugins/restful/RestfulInterface.php, line 37
Contains RestfulInterface.

Class

RestfulInterface
@file Contains RestfulInterface.

Code

const ACCESS_DENY = 'deny';