YetiForce PHP Documentation

Webhook extends VTTask
in package

Webhook cron task class.

Table of Contents

$contents  : Vtiger_Record_Model
Task contents.
$executeImmediately  : bool
doTask()  : mixed
Do task.
formatTimeForTimePicker()  : string
Return formatted time for timepicker.
getContents()  : Vtiger_Record_Model
Return content.
getFieldNames()  : mixed
Return field names.
getTimeFieldList()  : array<string|int, mixed>
Return time field list.
hasContents()  : bool
Check if has contents.
setContents()  : mixed
Set contents.

Properties

$contents

Task contents.

public Vtiger_Record_Model $contents

$executeImmediately

public bool $executeImmediately = rue

Methods

doTask()

Do task.

public doTask(mixed $recordModel) : mixed
Parameters
$recordModel : mixed
Return values
mixed

formatTimeForTimePicker()

Return formatted time for timepicker.

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

getContents()

Return content.

public getContents(Vtiger_Record_Model $recordModel) : Vtiger_Record_Model
Parameters
$recordModel : Vtiger_Record_Model
Return values
Vtiger_Record_Model

getFieldNames()

Return field names.

public getFieldNames() : mixed
Return values
mixed

getTimeFieldList()

Return time field list.

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

hasContents()

Check if has contents.

public hasContents(Vtiger_Record_Model $recordModel) : bool
Parameters
$recordModel : Vtiger_Record_Model
Return values
bool

setContents()

Set contents.

public setContents(Vtiger_Record_Model $recordModel) : mixed
Parameters
$recordModel : Vtiger_Record_Model
Return values
mixed

Search results