Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

AutoresponderOrCampaignBaseJob Class Reference

Inheritance diagram for AutoresponderOrCampaignBaseJob:
BaseJob AutoresponderQueueMessagesInOutboxJob CampaignGenerateDueCampaignItemsJob CampaignMarkCompletedJob CampaignQueueMessagesInOutboxJob

Static Public Member Functions

static getType ()
static getRecommendedRunFrequencyContent ()

Protected Member Functions

 resolveBatchSize ()
 runGarbageCollection ($item)
 forgetModelsWithForgottenValidators ()
 addMaxmimumProcessingCountMessage ($modelsProcessedCount, $startingMemoryUsage)
 hasReachedMaximumProcessingCount ($modelsProcessedCount, $batchSize)
 addMaximumMemoryUsageReached ()

Protected Attributes

 $modelIdentifiersForForgottenValidators = array()

Detailed Description

Definition at line 37 of file AutoresponderOrCampaignBaseJob.php.


Member Function Documentation

static getType (  )  [static]
Returns:
The type of the NotificationRules

Reimplemented from BaseJob.

Definition at line 44 of file AutoresponderOrCampaignBaseJob.php.

static getRecommendedRunFrequencyContent (  )  [static]
Returns:
string content specifying how often this job should be run as a scheduled task.

Reimplemented from BaseJob.

Definition at line 51 of file AutoresponderOrCampaignBaseJob.php.

runGarbageCollection ( item  )  [protected]

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

Parameters:
AutoresponderItem or CampaignItem $item

Reimplemented in AutoresponderQueueMessagesInOutboxJob, and CampaignQueueMessagesInOutboxJob.

Definition at line 65 of file AutoresponderOrCampaignBaseJob.php.

hasReachedMaximumProcessingCount ( modelsProcessedCount,
batchSize 
) [protected]
Parameters:
int $modelsProcessedCount
int || null $batchSize
Returns:
bool

Definition at line 112 of file AutoresponderOrCampaignBaseJob.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jan 22 07:10:21 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8