| [ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 175 lines (6 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Users_Privileges_Model:: (12 methods):
getGlobalReadPermission()
getGlobalWritePermission()
hasGlobalReadPermission()
hasGlobalWritePermission()
hasGlobalPermission()
hasModulePermission()
hasModuleActionPermission()
getInstance()
getInstanceById()
getCurrentUserPrivilegesModel()
isPermitted()
getNonAdminAccessControlQuery()
Class: Users_Privileges_Model - X-Ref
User Privileges Model Class| getGlobalReadPermission() X-Ref |
| Function to get the Global Read Permission for the user return: <Number> 0/1 |
| getGlobalWritePermission() X-Ref |
| Function to get the Global Write Permission for the user return: <Number> 0/1 |
| hasGlobalReadPermission() X-Ref |
| Function to check if the user has Global Read Permission return: <Boolean> true/false |
| hasGlobalWritePermission() X-Ref |
| Function to check if the user has Global Write Permission return: <Boolean> true/false |
| hasGlobalPermission($actionId) X-Ref |
| No description |
| hasModulePermission($tabId) X-Ref |
| Function to check whether the user has access to a given module by tabid param: <Number> $tabId return: <Boolean> true/false |
| hasModuleActionPermission($tabId, $action) X-Ref |
| Function to check whether the user has access to the specified action/operation on a given module by tabid param: <Number> $tabId param: <String/Number> $action return: <Boolean> true/false |
| getInstance($valueMap) X-Ref |
| Static Function to get the instance of the User Privileges model from the given list of key-value array param: <Array> $valueMap return: Users_Privilege_Model object |
| getInstanceById($userId) X-Ref |
| Static Function to get the instance of the User Privileges model, given the User id param: <Number> $userId return: Users_Privilege_Model object |
| getCurrentUserPrivilegesModel() X-Ref |
| Static function to get the User Privileges Model for the current user return: Users_Privilege_Model object |
| isPermitted($moduleName, $actionName, $record=false) X-Ref |
| Function to check permission for a Module/Action/Record param: <String> $moduleName param: <String> $actionName param: <Number> $record return: Boolean |
| getNonAdminAccessControlQuery($module) X-Ref |
| Function returns non admin access control check query param: <String> $module return: <String> |
| Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |