PHP 클래스 yii\gii\controllers\DefaultController

부터: 2.0
저자: Qiang Xue ([email protected])
상속: extends yii\web\Controller
파일 보기 프로젝트 열기: yiisoft/yii2-gii

공개 프로퍼티들

프로퍼티 타입 설명
$generator yii\gii\Generator
$layout
$module yii\gii\Module

공개 메소드들

메소드 설명
actionAction ( string $id, string $name ) : mixed Runs an action defined in the generator.
actionDiff ( $id, $file )
actionIndex ( )
actionPreview ( $id, $file )
actionView ( $id )

보호된 메소드들

메소드 설명
loadGenerator ( string $id ) : yii\gii\Generator Loads the generator with the specified ID.

메소드 상세

actionAction() 공개 메소드

Given an action named "xyz", the method "actionXyz()" in the generator will be called. If the method does not exist, a 400 HTTP exception will be thrown.
public actionAction ( string $id, string $name ) : mixed
$id string the ID of the generator
$name string the action name
리턴 mixed the result of the action.

actionDiff() 공개 메소드

public actionDiff ( $id, $file )

actionIndex() 공개 메소드

public actionIndex ( )

actionPreview() 공개 메소드

public actionPreview ( $id, $file )

actionView() 공개 메소드

public actionView ( $id )

loadGenerator() 보호된 메소드

Loads the generator with the specified ID.
protected loadGenerator ( string $id ) : yii\gii\Generator
$id string the ID of the generator to be loaded.
리턴 yii\gii\Generator the loaded generator

프로퍼티 상세

$generator 공개적으로 프로퍼티

public Generator,yii\gii $generator
리턴 yii\gii\Generator

$layout 공개적으로 프로퍼티

public $layout

$module 공개적으로 프로퍼티

public Module,yii\gii $module
리턴 yii\gii\Module