gii\console\GenerateAction generateCode()

generateCode() protected method protected void generateCode ( )

gii\console\GenerateAction displayValidationErrors()

displayValidationErrors() protected method protected void displayValidationErrors ( )

gii\console\GenerateAction $generator

$generator public property public yii\gii\Generator $generator = null

gii\console\GenerateAction $controller

$controller public property public yii\gii\console\GenerateController $controller = null

gii\components\ActiveField sticky()

sticky() public method Makes field remember its value between page reloads public $this sticky ( )return $this The field object itself

gii\components\ActiveField init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

gii\components\ActiveField autoComplete()

autoComplete() public method Makes field auto completable public $this autoComplete ( $data )$data array Auto complete data (array of callables or scalars) return $this The field object itself

gii\components\ActiveField $model

$model public property public yii\gii\Generator $model = null

gii\CodeFile __construct()

__construct() public method Constructor. public void __construct ( $path, $content, $config = [] )$path string The file path that the new code should be saved to. $content string The newly generated code content. $config array Name-value pairs that will be used to initialize the object properties

gii\CodeFile save()

save() public method Saves the code into the file specified by $path. public string|boolean save ( )return string|boolean The error occurred while saving the code file, or true if no error.