Documentation

Access
in package

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

Table of Contents

allowSharing()  : mixed
Enable or Disable sharing access control to module.
deleteSharing()  : mixed
Delete sharing access setup for module.
deleteTools()  : mixed
Delete tool (actions) of the module.
initSharing()  : mixed
Initialize sharing access.
setDefaultSharing()  : mixed
Set default sharing for a module.
syncSharingAccess()  : mixed
Recalculate sharing access rules.
updateTool()  : mixed
Enable tool for module.

Methods

allowSharing()

Enable or Disable sharing access control to module.

public static allowSharing(ModuleBasic $moduleInstance[, mixed $enable = true ]) : mixed
Parameters
$moduleInstance : ModuleBasic
$enable : mixed = true
Return values
mixed

deleteSharing()

Delete sharing access setup for module.

public static deleteSharing(ModuleBasic $moduleInstance) : mixed
Parameters
$moduleInstance : ModuleBasic
Return values
mixed

deleteTools()

Delete tool (actions) of the module.

public static deleteTools(ModuleBasic $moduleInstance) : mixed
Parameters
$moduleInstance : ModuleBasic
Return values
mixed

initSharing()

Initialize sharing access.

public static initSharing(ModuleBasic $moduleInstance) : mixed
Parameters
$moduleInstance : ModuleBasic
Return values
mixed

setDefaultSharing()

Set default sharing for a module.

public static setDefaultSharing(ModuleBasic $moduleInstance[, mixed $permissionText = 'Public_ReadWriteDelete' ]) : mixed
Parameters
$moduleInstance : ModuleBasic
$permissionText : mixed = 'Public_ReadWriteDelete'
Return values
mixed

syncSharingAccess()

Recalculate sharing access rules.

public static syncSharingAccess() : mixed
Return values
mixed

updateTool()

Enable tool for module.

public static updateTool(ModuleBasic $moduleInstance, mixed $toolAction, mixed $flag[, mixed $profileid = false ]) : mixed
Parameters
$moduleInstance : ModuleBasic
$toolAction : mixed
$flag : mixed
$profileid : mixed = false
Return values
mixed

        

Search results