PHP 인터페이스 mult1mate\crontab\TaskInterface

저자: mult1mate Date: 20.12.15 Time: 13:25
파일 보기 프로젝트 열기: MUlt1mate/cron-manager 0 사용 예제들

공개 메소드들

메소드 설명
createNew ( ) : mult1mate\crontab\TaskInterface Creates new task object and returns it
createTaskRun ( ) : mult1mate\crontab\TaskRunInterface Creates new task run object for current task and returns it
getAll ( ) : array Returns array of all tasks
getCommand ( ) : string
getComment ( ) : string
getStatus ( ) : string
getTaskId ( ) : integer
getTime ( ) : string
getTs ( ) : string
getTsUpdated ( ) : string
setCommand ( string $command )
setComment ( string $comment )
setStatus ( string $status )
setTime ( string $time )
setTs ( string $ts )
setTsUpdated ( string $ts )
taskDelete ( ) : mixed Deletes the task
taskGet ( integer $task_id ) : mult1mate\crontab\TaskInterface Returns tasks with given id
taskSave ( ) : mixed Saves the task

메소드 상세

createNew() 공개 정적인 메소드

Creates new task object and returns it
public static createNew ( ) : mult1mate\crontab\TaskInterface
리턴 mult1mate\crontab\TaskInterface

createTaskRun() 공개 메소드

Creates new task run object for current task and returns it
public createTaskRun ( ) : mult1mate\crontab\TaskRunInterface
리턴 mult1mate\crontab\TaskRunInterface

getAll() 공개 정적인 메소드

Returns array of all tasks
public static getAll ( ) : array
리턴 array

getCommand() 공개 메소드

public getCommand ( ) : string
리턴 string

getComment() 공개 메소드

public getComment ( ) : string
리턴 string

getStatus() 공개 메소드

public getStatus ( ) : string
리턴 string

getTaskId() 공개 메소드

public getTaskId ( ) : integer
리턴 integer

getTime() 공개 메소드

public getTime ( ) : string
리턴 string

getTs() 공개 메소드

public getTs ( ) : string
리턴 string

getTsUpdated() 공개 메소드

public getTsUpdated ( ) : string
리턴 string

setCommand() 공개 메소드

public setCommand ( string $command )
$command string

setComment() 공개 메소드

public setComment ( string $comment )
$comment string

setStatus() 공개 메소드

public setStatus ( string $status )
$status string

setTime() 공개 메소드

public setTime ( string $time )
$time string

setTs() 공개 메소드

public setTs ( string $ts )
$ts string

setTsUpdated() 공개 메소드

public setTsUpdated ( string $ts )
$ts string

taskDelete() 공개 메소드

Deletes the task
public taskDelete ( ) : mixed
리턴 mixed

taskGet() 공개 정적인 메소드

Returns tasks with given id
public static taskGet ( integer $task_id ) : mult1mate\crontab\TaskInterface
$task_id integer
리턴 mult1mate\crontab\TaskInterface

taskSave() 공개 메소드

Saves the task
public taskSave ( ) : mixed
리턴 mixed