Class hscstudio\heart\modules\gii\module\Generator
Inheritance | hscstudio\heart\modules\gii\module\Generator » yii\gii\generators\module\Generator » yii\gii\Generator |
---|---|
Available since version | 2.0 |
This generator will generate the skeleton code needed by a module.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$layout | hscstudio\heart\modules\gii\module\Generator | ||
$moduleClass | hscstudio\heart\modules\gii\module\Generator | ||
$moduleID | hscstudio\heart\modules\gii\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( ) |