PHP Class TaskRun

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

Public Properties

Property Type Description
$belongs_to
$primary_key
$table_name

Public Methods

Method 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 method

public attributes ( )

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 ( )

getOutput() public method

public getOutput ( ) : string
return string

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 )

setOutput() public method

public setOutput ( string $output )
$output string

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

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