Class yii\gii\generators\module\Generator
Inheritance | yii\gii\generators\module\Generator » yii\gii\Generator |
---|---|
Subclasses | hscstudio\heart\modules\gii\module\Generator |
Available since version | 2.0 |
Source Code | https://github.com/yiisoft/yii2/blob/master/extensions/gii/generators/module/Generator.php |
This generator will generate the skeleton code needed by a module.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$moduleClass | yii\gii\generators\module\Generator | ||
$moduleID | yii\gii\generators\module\Generator |
Public Methods
Property Details
Method Details
void attributeLabels( ) |
void generate( ) |
string getControllerNamespace( ) | ||
return | string | The controller namespace of the module. |
---|
void getDescription( ) |
boolean getModulePath( ) | ||
return | boolean | The directory that contains the module class |
---|
void getName( ) |
void hints( ) |
void requiredTemplates( ) |
void rules( ) |
void successMessage( ) |
Validates $moduleClass to make sure it is a fully qualified class name.
void validateModuleClass( ) |