Vtiger_WorkflowTrigger_Model
in package
Vtiger_WorkflowTrigger_Model class.
Table of Contents
- execute() : mixed
- Function executes workflow tasks.
- getTreeWorkflows() : array<string|int, mixed>
- Gets workflow action tree.
Methods
execute()
Function executes workflow tasks.
public
static execute(string $moduleName, int $record, int $userId[, array<string|int, mixed> $actions = [] ]) : mixed
Parameters
- $moduleName : string
- $record : int
- $userId : int
- $actions : array<string|int, mixed> = []
Return values
mixed —getTreeWorkflows()
Gets workflow action tree.
public
static getTreeWorkflows(string $moduleName, int $recordId) : array<string|int, mixed>
Parameters
- $moduleName : string
- $recordId : int