PHP 클래스 TaskRun

저자: mult1mate Date: 20.12.15 Time: 21:12
상속: extends DbBaseModel, implements mult1mate\crontab\TaskRunInterface
파일 보기 프로젝트 열기: MUlt1mate/cron-manager 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$belongs_to
$primary_key
$table_name

공개 메소드들

메소드 설명
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 )

메소드 상세

attributes() 공개 메소드

public attributes ( )

getExecutionTime() 공개 메소드

public getExecutionTime ( ) : integer
리턴 integer

getLast() 공개 정적인 메소드

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

getOutput() 공개 메소드

public getOutput ( )

getOutput() 공개 메소드

public getOutput ( ) : string
리턴 string

getStatus() 공개 메소드

public getStatus ( ) : string
리턴 string

getTaskId() 공개 메소드

public getTaskId ( ) : integer
리턴 integer

getTaskRunId() 공개 메소드

public getTaskRunId ( ) : integer
리턴 integer

getTs() 공개 메소드

public getTs ( ) : string
리턴 string

saveTaskRun() 공개 메소드

public saveTaskRun ( )

setExecutionTime() 공개 메소드

public setExecutionTime ( integer $execution_time )
$execution_time integer

setOutput() 공개 메소드

public setOutput ( $output )

setOutput() 공개 메소드

public setOutput ( string $output )
$output string

setStatus() 공개 메소드

public setStatus ( string $status )
$status string

setTaskId() 공개 메소드

public setTaskId ( integer $task_id )
$task_id integer

setTs() 공개 메소드

public setTs ( string $ts )
$ts string

프로퍼티 상세

$belongs_to 공개적으로 정적으로 프로퍼티

public static $belongs_to

$primary_key 공개적으로 정적으로 프로퍼티

public static $primary_key

$table_name 공개적으로 정적으로 프로퍼티

public static $table_name