PHP Класс yii\gii\controllers\DefaultController

С версии: 2.0
Автор: Qiang Xue ([email protected])
Наследование: extends yii\web\Controller
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$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