Documentation

VTUpdateRelatedFieldTask extends VTTask
in package

VTiger workflow VTTask class.

Table of Contents

RECORD_EVENT_ACTIVE  = 0
RECORD_EVENT_DOUBLE_MODE  = 2
RECORD_EVENT_INACTIVE  = 1
$contents  : Vtiger_Record_Model
Task contents.
$executeImmediately  : mixed
$recordEventState  : bool
doTask()  : mixed
Execute task.
formatTimeForTimePicker()  : string
Return formatted time for timepicker.
getContents()  : bool
Function to get contents of this task.
getFieldNames()  : mixed
Return field names.
getTimeFieldList()  : array<string|int, mixed>
Return time field list.
hasContents()  : bool
Check if has contents.
setContents()  : mixed
Set contents.
setDataFromRequest()  : mixed
Sets data from request.
updateRecords()  : bool
Update related records by releted module.

Constants

RECORD_EVENT_ACTIVE

public int RECORD_EVENT_ACTIVE = 0

RECORD_EVENT_DOUBLE_MODE

public int RECORD_EVENT_DOUBLE_MODE = 2

RECORD_EVENT_INACTIVE

public int RECORD_EVENT_INACTIVE = 1

Properties

$recordEventState

public bool $recordEventState = self::RECORD_EVENT_ACTIVE

The record event.

Methods

formatTimeForTimePicker()

Return formatted time for timepicker.

public formatTimeForTimePicker(string $time) : string
Parameters
$time : string
Return values
string

getTimeFieldList()

Return time field list.

public getTimeFieldList() : array<string|int, mixed>
Return values
array<string|int, mixed>

updateRecords()

Update related records by releted module.

private updateRecords(Vtiger_Record_Model $recordModel, array<string|int, string> $relatedData, string $fieldValue) : bool
Parameters
$recordModel : Vtiger_Record_Model
$relatedData : array<string|int, string>
$fieldValue : string
Return values
bool

        

Search results