[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

File Size: 386 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 2 files
 modules/Users/CreateUserPrivilegeFile.php
 include/events/include.inc

Defines 1 class

Settings_Groups_Record_Model:: (18 methods):
  getId()
  setId()
  getName()
  getDescription()
  getEditViewUrl()
  getDeleteActionUrl()
  getDetailViewUrl()
  getMembers()
  save()
  recalculate()
  getUsersList()
  transferOwnership()
  delete()
  getRecordLinks()
  getInstanceFromQResult()
  getAll()
  getInstance()
  getInstanceByName()


Class: Settings_Groups_Record_Model  - X-Ref

Roles Record Model Class

getId()   X-Ref
Function to get the Id

return: <Number> Group Id

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

param: <Number> Group Id
return: <Settings_Groups_Reord_Model> instance

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

return: <String>

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

return: <String>

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

return: <String>

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

return: <String>

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

return: <String>

getMembers()   X-Ref
Function to get all the members of the groups

return: <Array> Settings_Profiles_Record_Model instances

save()   X-Ref
Function to save the role


recalculate($oldUsersList)   X-Ref
Function to recalculate user priviliges files

param: <Array> $oldUsersList

getUsersList($nonAdmin = false)   X-Ref
Function to get all users related to this group

param: <Boolean> $nonAdmin true/false
return: <Array> Users models list <Users_Record_Model>

transferOwnership($transferToGroup)   X-Ref
No description

delete($transferToGroup)   X-Ref
Function to delete the group

param: <Settings_Groups_Record_Model> $transferToGroup

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)   X-Ref
Function to get the instance of Groups record model from query result

param: <Object> $result
param: <Number> $rowNo
return: Settings_Groups_Record_Model instance

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

return: <Array> - Array of Settings_Groups_Record_Model instances

getInstance($value)   X-Ref
Function to get the instance of Group model, given group id or name

param: <Object> $value
return: Settings_Groups_Record_Model instance, if exists. Null otherwise

getInstanceByName($name, $excludedRecordId = array()   X-Ref
No description



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