PHP Class app\controllers\ConfController

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

Public Methods

Method Description
actionCopy ( $projectId ) : string 复制项目配置
actionDelete ( $projectId ) : string 删除配置
actionDeleteRelation ( $id ) : string 删除项目的用户关系
actionDetection ( $projectId ) : string 项目配置检测
actionEdit ( $projectId = null ) : string 配置项目
actionEditRelation ( $id, $type ) : string 项目审核管理员设置
actionGroup ( $projectId ) : string 配置项目
actionIndex ( ) 配置项目列表
actionPreview ( $projectId ) : string 配置项目
beforeAction ( Action $action ) : boolean

Protected Methods

Method Description
_saveAnsibleHosts ( Project $project ) : boolean
findModel ( integer $id ) : the 简化

Method Details

_saveAnsibleHosts() protected method

protected _saveAnsibleHosts ( Project $project ) : boolean
$project app\models\Project
return boolean

actionCopy() public method

复制项目配置
public actionCopy ( $projectId ) : string
return string

actionDelete() public method

删除配置
public actionDelete ( $projectId ) : string
return string

actionDeleteRelation() public method

删除项目的用户关系
public actionDeleteRelation ( $id ) : string
return string

actionDetection() public method

项目配置检测
public actionDetection ( $projectId ) : string
$projectId
return string

actionEdit() public method

配置项目
public actionEdit ( $projectId = null ) : string
$projectId
return string

actionEditRelation() public method

项目审核管理员设置
public actionEditRelation ( $id, $type ) : string
return string

actionGroup() public method

配置项目
public actionGroup ( $projectId ) : string
$projectId
return string

actionIndex() public method

配置项目列表
public actionIndex ( )

actionPreview() public method

配置项目
public actionPreview ( $projectId ) : string
$projectId
return string

beforeAction() public method

public beforeAction ( Action $action ) : boolean
$action yii\base\Action
return boolean

findModel() protected method

简化
protected findModel ( integer $id ) : the
$id integer
return the loaded model