PHP Class app\controllers\TaskController

Inheritance: extends yii\web\Controller
ファイルを表示 Open project: meolu/walle-web

Protected Properties

Property Type Description
$task

Public Methods

Method Description
actionDelete ( $taskId ) : string 任务删除
actionIndex ( integer $page = 1, integer $size = 10 ) : string 我的上线列表
actionRollback ( $taskId ) : string 生成回滚任务
actionSubmit ( $projectId = null ) : string 提交任务
actionTaskOperation ( $id, $operation ) 任务审核

Method Details

actionDelete() public method

任务删除
public actionDelete ( $taskId ) : string
return string

actionIndex() public method

我的上线列表
public actionIndex ( integer $page = 1, integer $size = 10 ) : string
$page integer
$size integer
return string

actionRollback() public method

生成回滚任务
public actionRollback ( $taskId ) : string
return string

actionSubmit() public method

提交任务
public actionSubmit ( $projectId = null ) : string
$projectId 没有projectId则显示列表
return string

actionTaskOperation() public method

任务审核
public actionTaskOperation ( $id, $operation )
$id
$operation

Property Details

$task protected_oe property

protected $task