[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/modules/Settings/Profiles/models/ -> Record.php (summary)

(no description)

File Size: 887 lines (33 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 modules/Users/CreateUserPrivilegeFile.php

Defines 1 class

Settings_Profiles_Record_Model:: (40 methods):
  getId()
  setId()
  getName()
  getDescription()
  getEditViewUrl()
  getDuplicateViewUrl()
  getDeleteAjaxUrl()
  getDeleteActionUrl()
  getGlobalPermissions()
  hasGlobalReadPermission()
  hasGlobalWritePermission()
  hasModulePermission()
  hasModuleActionPermission()
  hasModuleFieldPermission()
  hasModuleFieldWritePermission()
  getModuleFieldPermissionValue()
  isModuleFieldLocked()
  getProfileTabModel()
  getProfileTabFieldModel()
  getProfileTabPermissions()
  getProfileTabFieldPermissions()
  getProfileActionPermissions()
  getProfileUtilityPermissions()
  getModulePermissions()
  delete()
  save()
  saveModulePermissions()
  tranformInputPermissionValue()
  getRecordLinks()
  getInstanceFromQResult()
  getAllByRole()
  getAll()
  getInstanceById()
  getInstanceByName()
  getDetailViewUrl()
  isDirectlyRelated()
  isRestrictedModule()
  recalculate()
  getUsersList()
  saveUserAccessbleFieldsIntoProfile2Field()


Class: Settings_Profiles_Record_Model  - X-Ref

Profiles Record Model Class

getId()   X-Ref
Function to get the Id

return: <Number> Profile Id

setId($id)   X-Ref
Function to get the Id

return: <Number> Profile Id

getName()   X-Ref
Function to get the Profile Name

return: <String>

getDescription()   X-Ref
Function to get the description of the Profile

return: <String>

getEditViewUrl()   X-Ref
Function to get the Edit View Url for the Profile

return: <String>

getDuplicateViewUrl()   X-Ref
Function to get the Edit View Url for the Profile

return: <String>

getDeleteAjaxUrl()   X-Ref
Function to get the Detail Action Url for the Profile

return: <String>

getDeleteActionUrl()   X-Ref
Function to get the Delete Action Url for the current profile

return: <String>

getGlobalPermissions()   X-Ref
No description

hasGlobalReadPermission()   X-Ref
No description

hasGlobalWritePermission()   X-Ref
No description

hasModulePermission($module)   X-Ref
No description

hasModuleActionPermission($module, $action)   X-Ref
No description

hasModuleFieldPermission($module, $field)   X-Ref
No description

hasModuleFieldWritePermission($module, $field)   X-Ref
No description

getModuleFieldPermissionValue($module, $field)   X-Ref
No description

isModuleFieldLocked($module, $field)   X-Ref
No description

getProfileTabModel($module)   X-Ref
No description

getProfileTabFieldModel($module, $field)   X-Ref
No description

getProfileTabPermissions()   X-Ref
No description

getProfileTabFieldPermissions($tabId)   X-Ref
No description

getProfileActionPermissions()   X-Ref
No description

getProfileUtilityPermissions()   X-Ref
No description

getModulePermissions()   X-Ref
No description

delete($transferToRecord)   X-Ref
No description

save()   X-Ref
No description

saveModulePermissions($moduleModel, $permissions)   X-Ref
No description

tranformInputPermissionValue($value)   X-Ref
No description

getRecordLinks()   X-Ref
Function to get the list view actions for the record

return: <Array> - Associate array of Vtiger_Link_Model instances

getInstanceFromQResult($result, $rowNo=0)   X-Ref
No description

getAllByRole($roleId)   X-Ref
Function to get all the profiles linked to the given role

param: <String> - $roleId
return: <Array> - Array of Settings_Profiles_Record_Model instances

getAll()   X-Ref
Function to get all the profiles

return: <Array> - Array of Settings_Profiles_Record_Model instances

getInstanceById($profileId)   X-Ref
Function to get the instance of Profile model, given profile id

param: <Integer> $profileId
return: Settings_Profiles_Record_Model instance, if exists. Null otherwise

getInstanceByName($profileName , $checkOnlyDirectlyRelated=false, $excludedRecordId = array()   X-Ref
No description

getDetailViewUrl()   X-Ref
Function to get the Detail Url for the current group

return: <String>

isDirectlyRelated()   X-Ref
Function to check whether the profiles is directly related to role

return: Boolean

isRestrictedModule($moduleName)   X-Ref
Function to check whether module is restricted for to show actions and field access

param: <String> $moduleName
return: <boolean> true/false

recalculate()   X-Ref
Function recalculate the sharing rules


getUsersList($allUsers = false)   X-Ref
Function to get Users list from this Profile

param: <Boolean> $allUsers
return: <Array> list of user ids

saveUserAccessbleFieldsIntoProfile2Field()   X-Ref
Function to save user fields in vtiger_profile2field table
We need user field values to generating the Email Templates variable valuues.

param: type $profileId



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1