[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/vtlib/Vtiger/ -> Access.php (summary)

(no description)

File Size: 181 lines (7 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 3 files
 include/utils/UserInfoUtil.php
 vtlib/Vtiger/Profile.php
 vtlib/Vtiger/Utils.php

Defines 1 class

Vtiger_Access:: (9 methods):
  log()
  __getDefaultSharingAccessId()
  syncSharingAccess()
  allowSharing()
  initSharing()
  deleteSharing()
  setDefaultSharing()
  updateTool()
  deleteTools()


Class: Vtiger_Access  - X-Ref

Provides API to control Access like Sharing, Tools etc. for vtiger CRM Module

log($message, $delim=true)   X-Ref
Helper function to log messages

param: String Message to log
param: Boolean true appends linebreak, false to avoid it

__getDefaultSharingAccessId()   X-Ref
Get unique id for sharing access record.


syncSharingAccess()   X-Ref
Recalculate sharing access rules.


allowSharing($moduleInstance, $enable=true)   X-Ref
Enable or Disable sharing access control to module

param: Vtiger_Module Instance of the module to use
param: Boolean true to enable sharing access, false disable sharing access

initSharing($moduleInstance)   X-Ref
Initialize sharing access.

param: Vtiger_Module Instance of the module to use

deleteSharing($moduleInstance)   X-Ref
Delete sharing access setup for module

param: Vtiger_Module Instance of module to use

setDefaultSharing($moduleInstance, $permission_text='Public_ReadWriteDelete')   X-Ref
Set default sharing for a module

param: Vtiger_Module Instance of the module
param: String Permission text should be one of ['Public_ReadWriteDelete', 'Public_ReadOnly', 'Public_ReadWrite', 'Private']

updateTool($moduleInstance, $toolAction, $flag, $profileid=false)   X-Ref
Enable tool for module.

param: Vtiger_Module Instance of module to use
param: String Tool (action name) like Import, Export, Merge
param: Boolean true to enable tool, false to disable
param: Integer (optional) profile id to use, false applies to all profile.

deleteTools($moduleInstance)   X-Ref
Delete tool (actions) of the module

param: Vtiger_Module Instance of module to use



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