IQnection\BigCommerceApp\Cron\BackgroundJob
Synopsis
class BackgroundJob
extends DataObject
{
- // constants
- const STATUS_OPEN = 'open';
- const STATUS_RUNNING = 'running';
- const STATUS_COMPLETE = 'complete';
- const STATUS_FAILED = 'failed';
- const STATUS_CANCELLED = 'cancelled';
- // members
- private static string $table_name = 'BCBackgroundJob';
- private static array $db = ;
- private static array $defaults = ;
- // methods
- public void getTitle()
- public void StatusDisplay()
- public static void CreateJob()
- public void Run()
- public static void RunJob()
- public static void NextJob()
- public static void getOpen()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Constants
Name | Value |
---|---|
STATUS_OPEN | 'open' |
STATUS_RUNNING | 'running' |
STATUS_COMPLETE | 'complete' |
STATUS_FAILED | 'failed' |
STATUS_CANCELLED | 'cancelled' |
Members
private
- $db
- $defaults
- $table_name