PHP Class app\models\TaskRun

Author: mult1mate Date: 20.12.15 Time: 21:12
Inheritance: extends yii\db\ActiveRecord, implements mult1mate\crontab\TaskRunInterface
Show file Open project: MUlt1mate/cron-manager Class Usage Examples

Public Methods

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

Method Details

getExecutionTime() public method

public getExecutionTime ( ) : integer
return integer

getLast() public static method

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

getOutput() public method

public getOutput ( )

getStatus() public method

public getStatus ( ) : string
return string

getTaskId() public method

public getTaskId ( ) : integer
return integer

getTaskRunId() public method

public getTaskRunId ( ) : integer
return integer

getTs() public method

public getTs ( ) : string
return string

saveTaskRun() public method

public saveTaskRun ( )

setExecutionTime() public method

public setExecutionTime ( integer $execution_time )
$execution_time integer

setOutput() public method

public setOutput ( $output )

setStatus() public method

public setStatus ( string $status )
$status string

setTaskId() public method

public setTaskId ( integer $task_id )
$task_id integer

setTs() public method

public setTs ( string $ts )
$ts string

tableName() public static method

public static tableName ( )