gii\Generator generate()

generate() public abstract method

Generates the code based on the current user input and the specified code template files.

This is the main method that child classes should implement. Please refer to yii\gii\generators\controller\Generator::generate() as an example on how to implement this method.

public abstract yii\gii\CodeFile[] generate ( )
return yii\gii\CodeFile[]

A list of code files to be created.

doc_Yii
2016-10-30 17:03:04
Comments
Leave a Comment

Please login to continue.