AutoresponderQueueMessagesInOutboxJob Class Reference

Inheritance diagram for AutoresponderQueueMessagesInOutboxJob:
AutoresponderOrCampaignQueueMessagesInOutboxBaseJob AutoresponderOrCampaignBaseJob BaseJob

Public Member Functions

 run ()

Static Public Member Functions

static getDisplayName ()
static resolveJobsForQueue ()
static jobExecutionInQueueDependsOnTime ()

Protected Member Functions

 processRun ()
 processAutoresponderItemInQueue (AutoresponderItem $autoresponderItem)
 runGarbageCollection ($autoresponderItem)

Static Protected Attributes

static $loadJobQueueOnCleanupAndFallback = true

Detailed Description

A job for processing autoresponder messages that are not sent immediately when triggered

Definition at line 41 of file AutoresponderQueueMessagesInOutboxJob.php.


Member Function Documentation

static getDisplayName (  )  [static]
Returns:
Translated label that describes this job type.

Reimplemented from BaseJob.

Definition at line 52 of file AutoresponderQueueMessagesInOutboxJob.php.

static resolveJobsForQueue (  )  [static]
See also:
parent::resolveJobsForQueue()

Reimplemented from BaseJob.

Definition at line 60 of file AutoresponderQueueMessagesInOutboxJob.php.

run (  ) 
See also:
BaseJob::run()

Reimplemented from BaseJob.

Definition at line 86 of file AutoresponderQueueMessagesInOutboxJob.php.

runGarbageCollection ( autoresponderItem  )  [protected]

Not pretty, but gets the job done. Solves memory leak problem.

Parameters:
AutoresponderItem $autoresponderItem

Reimplemented from AutoresponderOrCampaignBaseJob.

Definition at line 153 of file AutoresponderQueueMessagesInOutboxJob.php.

static jobExecutionInQueueDependsOnTime (  )  [static]

Used for determining if job should be executed at exact time or latter For example CampaignGenerateDueCampaignItems need to be executed at exact time or latter to trigger some actions This is used in JobQueues

Returns:
bool

Reimplemented from BaseJob.

Definition at line 163 of file AutoresponderQueueMessagesInOutboxJob.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Nov 16 07:10:50 2019