PHP Class TaskRun

Author: mult1mate Date: 20.12.15 Time: 21:12
Inheritance: extends DbBaseModel, implements mult1mate\crontab\TaskRunInterface
Afficher le fichier Open project: MUlt1mate/cron-manager Class Usage Examples

Méthodes publiques

Свойство Type Description
$belongs_to
$primary_key
$table_name

Méthodes publiques

Méthode Description
attributes ( )
getExecutionTime ( ) : integer
getLast ( $task_id = null, $count = 100 )
getOutput ( )
getOutput ( ) : string
getStatus ( ) : string
getTaskId ( ) : integer
getTaskRunId ( ) : integer
getTs ( ) : string
saveTaskRun ( )
setExecutionTime ( integer $execution_time )
setOutput ( $output )
setOutput ( string $output )
setStatus ( string $status )
setTaskId ( integer $task_id )
setTs ( string $ts )

Method Details

attributes() public méthode

public attributes ( )

getExecutionTime() public méthode

public getExecutionTime ( ) : integer
Résultat integer

getLast() public static méthode

public static getLast ( $task_id = null, $count = 100 )

getOutput() public méthode

public getOutput ( )

getOutput() public méthode

public getOutput ( ) : string
Résultat string

getStatus() public méthode

public getStatus ( ) : string
Résultat string

getTaskId() public méthode

public getTaskId ( ) : integer
Résultat integer

getTaskRunId() public méthode

public getTaskRunId ( ) : integer
Résultat integer

getTs() public méthode

public getTs ( ) : string
Résultat string

saveTaskRun() public méthode

public saveTaskRun ( )

setExecutionTime() public méthode

public setExecutionTime ( integer $execution_time )
$execution_time integer

setOutput() public méthode

public setOutput ( $output )

setOutput() public méthode

public setOutput ( string $output )
$output string

setStatus() public méthode

public setStatus ( string $status )
$status string

setTaskId() public méthode

public setTaskId ( integer $task_id )
$task_id integer

setTs() public méthode

public setTs ( string $ts )
$ts string

Property Details

$belongs_to public_oe static_oe property

public static $belongs_to

$primary_key public_oe static_oe property

public static $primary_key

$table_name public_oe static_oe property

public static $table_name