Documentation

WorkFlowScheduler
in package

Class WorkFlowScheduler.

Table of Contents

$user  : Users
User.
__construct()  : mixed
Constructor.
addWorkflowConditionsToQueryGenerator()  : mixed
Add workflow conditions to query generator.
getEligibleWorkflowRecords()  : array<string|int, int>
Get eligible workflow records.
getWorkflowQuery()  : Query
Get workflow query.
parseValueForDate()  : string
Function parse the value based on the condition.
queueScheduledWorkflowTasks()  : mixed
Queue scheduled workflow tasks.
specialDateTimeOperator()  : array<string|int, mixed>
Special Date functions.

Properties

Methods

__construct()

Constructor.

public __construct() : mixed
Return values
mixed

addWorkflowConditionsToQueryGenerator()

Add workflow conditions to query generator.

public addWorkflowConditionsToQueryGenerator(QueryGenerator $queryGenerator, array<string|int, mixed> $conditions) : mixed
Parameters
$queryGenerator : QueryGenerator
$conditions : array<string|int, mixed>
Return values
mixed

getEligibleWorkflowRecords()

Get eligible workflow records.

public getEligibleWorkflowRecords(Workflow $workflow) : array<string|int, int>
Parameters
$workflow : Workflow
Return values
array<string|int, int>

parseValueForDate()

Function parse the value based on the condition.

public parseValueForDate(array<string|int, mixed> $condition) : string
Parameters
$condition : array<string|int, mixed>
Return values
string

queueScheduledWorkflowTasks()

Queue scheduled workflow tasks.

public queueScheduledWorkflowTasks() : mixed
Return values
mixed

specialDateTimeOperator()

Special Date functions.

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

Search results