PHP Класс Newscoop\Entity\CronJob

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$command string
$createdAt datetime
$dateFormat string
$debug boolean
$detailsUrl text
$enabled boolean
$environment string
$id integer
$name string
$output string
$runAs string
$runOnHost string
$schedule string
$sendMail boolean

Открытые методы

Метод Описание
__construct ( )
getCommand ( ) : string Gets the value of command.
getCreatedAt ( ) : datetime Gets the value of createdAt.
getDateFormat ( ) : string Gets the value of dateFormat.
getDebug ( ) : boolean Gets the value of debug.
getDetailsUrl ( ) : text Gets the value of detailsUrl.
getEnabled ( ) : boolean Gets the value of enabled.
getEnvironment ( ) : string Gets the value of environment.
getId ( ) : integer Gets the value of id.
getName ( ) : string Gets the value of name.
getOutput ( ) : string Gets the value of output.
getRunAs ( ) : string Gets the value of runAs.
getRunOnHost ( ) : string Gets the value of runOnHost.
getSchedule ( ) : string Gets the value of schedule.
getSendMail ( ) : boolean Gets the value of sendMail.
setCommand ( string $command ) : self Sets the value of command.
setCreatedAt ( DateTime $createdAt ) : self Sets the value of createdAt.
setDateFormat ( string $dateFormat ) : self Sets the value of dateFormat.
setDebug ( boolean $debug ) : self Sets the value of debug.
setDetailsUrl ( text $detailsUrl ) : self Sets the value of detailsUrl.
setEnabled ( boolean $enabled ) : self Sets the value of enabled.
setEnvironment ( string $environment ) : self Sets the value of environment.
setId ( integer $id ) : self Sets the value of id.
setName ( string $name ) : self Sets the value of name.
setOutput ( string $output ) : self Sets the value of output.
setRunAs ( string $runAs ) : self Sets the value of runAs.
setRunOnHost ( string $runOnHost ) : self Sets the value of runOnHost.
setSchedule ( string $schedule ) : self Sets the value of schedule.
setSendMail ( boolean $sendMail ) : self Sets the value of sendMail.

Описание методов

__construct() публичный метод

public __construct ( )

getCommand() публичный метод

Gets the value of command.
public getCommand ( ) : string
Результат string

getCreatedAt() публичный метод

Gets the value of createdAt.
public getCreatedAt ( ) : datetime
Результат datetime

getDateFormat() публичный метод

Gets the value of dateFormat.
public getDateFormat ( ) : string
Результат string

getDebug() публичный метод

Gets the value of debug.
public getDebug ( ) : boolean
Результат boolean

getDetailsUrl() публичный метод

Gets the value of detailsUrl.
public getDetailsUrl ( ) : text
Результат text

getEnabled() публичный метод

Gets the value of enabled.
public getEnabled ( ) : boolean
Результат boolean

getEnvironment() публичный метод

Gets the value of environment.
public getEnvironment ( ) : string
Результат string

getId() публичный метод

Gets the value of id.
public getId ( ) : integer
Результат integer

getName() публичный метод

Gets the value of name.
public getName ( ) : string
Результат string

getOutput() публичный метод

Gets the value of output.
public getOutput ( ) : string
Результат string

getRunAs() публичный метод

Gets the value of runAs.
public getRunAs ( ) : string
Результат string

getRunOnHost() публичный метод

Gets the value of runOnHost.
public getRunOnHost ( ) : string
Результат string

getSchedule() публичный метод

Gets the value of schedule.
public getSchedule ( ) : string
Результат string

getSendMail() публичный метод

Gets the value of sendMail.
public getSendMail ( ) : boolean
Результат boolean

setCommand() публичный метод

Sets the value of command.
public setCommand ( string $command ) : self
$command string the command
Результат self

setCreatedAt() публичный метод

Sets the value of createdAt.
public setCreatedAt ( DateTime $createdAt ) : self
$createdAt DateTime the created at
Результат self

setDateFormat() публичный метод

Sets the value of dateFormat.
public setDateFormat ( string $dateFormat ) : self
$dateFormat string the date format
Результат self

setDebug() публичный метод

Sets the value of debug.
public setDebug ( boolean $debug ) : self
$debug boolean the debug
Результат self

setDetailsUrl() публичный метод

Sets the value of detailsUrl.
public setDetailsUrl ( text $detailsUrl ) : self
$detailsUrl text the details url
Результат self

setEnabled() публичный метод

Sets the value of enabled.
public setEnabled ( boolean $enabled ) : self
$enabled boolean the enabled
Результат self

setEnvironment() публичный метод

Sets the value of environment.
public setEnvironment ( string $environment ) : self
$environment string the environment
Результат self

setId() публичный метод

Sets the value of id.
public setId ( integer $id ) : self
$id integer the id
Результат self

setName() публичный метод

Sets the value of name.
public setName ( string $name ) : self
$name string the name
Результат self

setOutput() публичный метод

Sets the value of output.
public setOutput ( string $output ) : self
$output string the output
Результат self

setRunAs() публичный метод

Sets the value of runAs.
public setRunAs ( string $runAs ) : self
$runAs string the run as
Результат self

setRunOnHost() публичный метод

Sets the value of runOnHost.
public setRunOnHost ( string $runOnHost ) : self
$runOnHost string the run on host
Результат self

setSchedule() публичный метод

Sets the value of schedule.
public setSchedule ( string $schedule ) : self
$schedule string the schedule
Результат self

setSendMail() публичный метод

Sets the value of sendMail.
public setSendMail ( boolean $sendMail ) : self
$sendMail boolean the send mail
Результат self

Описание свойств

$command защищенное свойство

protected string $command
Результат string

$createdAt защищенное свойство

protected datetime $createdAt
Результат datetime

$dateFormat защищенное свойство

protected string $dateFormat
Результат string

$debug защищенное свойство

protected bool $debug
Результат boolean

$detailsUrl защищенное свойство

protected text $detailsUrl
Результат text

$enabled защищенное свойство

protected bool $enabled
Результат boolean

$environment защищенное свойство

protected string $environment
Результат string

$id защищенное свойство

protected int $id
Результат integer

$name защищенное свойство

protected string $name
Результат string

$output защищенное свойство

protected string $output
Результат string

$runAs защищенное свойство

protected string $runAs
Результат string

$runOnHost защищенное свойство

protected string $runOnHost
Результат string

$schedule защищенное свойство

protected string $schedule
Результат string

$sendMail защищенное свойство

protected bool $sendMail
Результат boolean