PHP Class Task

List of current tasks
Since: 0.1
Inheritance: extends AppController
显示文件 Open project: MUlt1mate/cron-manager Class Usage Examples

Public Properties

Property Type Description
$has_many
$primary_key
$table_name

Public Methods

Method Description
attributes ( )
createNew ( )
createTaskRun ( ) : mult1mate\crontab\TaskRunInterface
getAll ( )
getCommand ( ) : mixed
getComment ( ) : mixed
getList ( )
getReport ( $date_begin, $date_end )
getStatus ( ) : mixed
getTaskId ( ) : mixed
getTime ( ) : mixed
getTs ( ) : mixed
getTsUpdated ( ) : mixed
setCommand ( mixed $command )
setComment ( mixed $comment )
setStatus ( mixed $status )
setTime ( mixed $time )
setTs ( mixed $ts )
setTsUpdated ( mixed $ts )
taskDelete ( )
taskGet ( $task_id )
taskSave ( )

Method Details

attributes() public method

public attributes ( )

createNew() public static method

public static createNew ( )

createTaskRun() public method

public createTaskRun ( ) : mult1mate\crontab\TaskRunInterface
return mult1mate\crontab\TaskRunInterface

getAll() public static method

public static getAll ( )

getCommand() public method

public getCommand ( ) : mixed
return mixed

getComment() public method

public getComment ( ) : mixed
return mixed

getList() public static method

public static getList ( )

getReport() public static method

public static getReport ( $date_begin, $date_end )

getStatus() public method

public getStatus ( ) : mixed
return mixed

getTaskId() public method

public getTaskId ( ) : mixed
return mixed

getTime() public method

public getTime ( ) : mixed
return mixed

getTs() public method

public getTs ( ) : mixed
return mixed

getTsUpdated() public method

public getTsUpdated ( ) : mixed
return mixed

setCommand() public method

public setCommand ( mixed $command )
$command mixed

setComment() public method

public setComment ( mixed $comment )
$comment mixed

setStatus() public method

public setStatus ( mixed $status )
$status mixed

setTime() public method

public setTime ( mixed $time )
$time mixed

setTs() public method

public setTs ( mixed $ts )
$ts mixed

setTsUpdated() public method

public setTsUpdated ( mixed $ts )
$ts mixed

taskDelete() public method

public taskDelete ( )

taskGet() public static method

public static taskGet ( $task_id )

taskSave() public method

public taskSave ( )

Property Details

$has_many public_oe static_oe property

public static $has_many

$primary_key public_oe static_oe property

public static $primary_key

$table_name public_oe static_oe property

public static $table_name