class Set extends ConcreteObject (View source)

Constants

DEFAULT_JOB_SET_ID

Properties

$error from ConcreteObject
$jDateLastRun
$isScheduled
$scheduledInterval
$scheduledValue

Methods

loadError($error)

No description

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

static 
camelcase($file)

No description

static 
uncamelcase($string)

No description

static JobSet[]
getList($scheduledOnly = false)

No description

static 
getByID($jsID)

No description

static 
getByName($jsName)

No description

static 
getListByPackage($pkg)

No description

static 
getDefault()

No description

getJobSetID()

No description

getJobSetName()

No description

getPackageID()

No description

string
getJobSetDisplayName(string $format = 'html')

Returns the display name for this job set (localized and escaped accordingly to $format)

updateJobSetName($jsName)

No description

addJob(Job $j)

No description

static 
add($jsName, $pkg = false)

No description

clearJobs()

No description

Job[]
getJobs()

No description

markStarted()

No description

contains(Job $j)

No description

delete()

No description

canDelete()

No description

removeJob(Job $j)

No description

isScheduledForNow()

No description

setSchedule($scheduled, $interval, $value)

No description

static 
exportTranslations()

No description

Details

loadError($error)

Parameters

$error

isError()

getError()

setPropertiesFromArray($arr)

Parameters

$arr

static camelcase($file)

Parameters

$file

static uncamelcase($string)

Parameters

$string

static JobSet[] getList($scheduledOnly = false)

Parameters

$scheduledOnly

Return Value

JobSet[]

static getByID($jsID)

Parameters

$jsID

static getByName($jsName)

Parameters

$jsName

static getListByPackage($pkg)

Parameters

$pkg

static getDefault()

getJobSetID()

getJobSetName()

getPackageID()

string getJobSetDisplayName(string $format = 'html')

Returns the display name for this job set (localized and escaped accordingly to $format)

Parameters

string $format = 'html' Escape the result in html format (if $format is 'html'). If $format is 'text' or any other value, the display name won't be escaped.

Return Value

string

updateJobSetName($jsName)

Parameters

$jsName

addJob(Job $j)

Parameters

Job $j

static add($jsName, $pkg = false)

Parameters

$jsName
$pkg

clearJobs()

Job[] getJobs()

Return Value

Job[]

markStarted()

contains(Job $j)

Parameters

Job $j

delete()

canDelete()

removeJob(Job $j)

Parameters

Job $j

isScheduledForNow()

setSchedule($scheduled, $interval, $value)

Parameters

$scheduled
$interval
$value

static exportTranslations()