yiisoft/yii2-gii API Documentation 2.2

This is the API Documentation for the yiisoft/yii2-gii extension. Here you will find detailed information about all classes provided by this extension. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 2.2 of the extension. You can use the dropdown menu on the top right to switch between versions.

Class Description
yii\gii\CodeFile CodeFile represents a code file to be generated.
yii\gii\Generator This is the base class for all generator classes.
yii\gii\GiiAsset This declares the asset files required by Gii.
yii\gii\Module This is the main module class for the Gii module.
yii\gii\components\ActiveField
yii\gii\components\DiffRendererHtmlInline Renders diff to HTML. Output adjusted to be copy-paste friendly.
yii\gii\console\GenerateAction
yii\gii\console\GenerateController This is the command line version of Gii - a code generator.
yii\gii\controllers\DefaultController
yii\gii\generators\controller\Generator This generator will generate a controller and one or a few action view files.
yii\gii\generators\crud\Generator Generates CRUD controller and views.
yii\gii\generators\extension\Generator This generator will generate the skeleton files needed by an extension.
yii\gii\generators\form\Generator This generator will generate an action view file based on the specified model class.
yii\gii\generators\model\Generator This generator will generate one or multiple ActiveRecord classes for the specified database table.
yii\gii\generators\module\Generator This generator will generate the skeleton code needed by a module.