gii\Module $newFileMode

$newFileMode public property The permission to be set for newly generated code files. This value will be used by PHP chmod function. Defaults to 0666, meaning the file is read-writable by all users. public integer $newFileMode = 438

gii\Module $newDirMode

$newDirMode public property The permission to be set for newly generated directories. This value will be used by PHP chmod function. Defaults to 0777, meaning the directory can be read, written and executed by all users. public integer $newDirMode = 511

gii\Module $generators

$generators public property A list of generator configurations or instances. The array keys are the generator IDs (e.g. "crud"), and the array elements are the corresponding generator configurations or the instances. After the module is initialized, this property will become an array of generator instances which are created based on the configurations previously taken by this property. Newly assigned generators will be merged with the core ones, and the former takes precedence in case when

gii\Module $controllerNamespace

$controllerNamespace public property The namespace that controller classes are in. This namespace will be used to load controller classes by prepending it to the controller class name. If not set, it will use the controllers sub-namespace under the namespace of this module. For example, if the namespace of this module is foo\bar, then the default controller namespace would be foo\bar\controllers. See also the guide section on autoloading to learn more about defining namespaces and how class

gii\Module $allowedIPs

$allowedIPs public property The list of IPs that are allowed to access this module. Each array element represents a single IP filter which can be either an IP address or an address with wildcard (e.g. 192.168.0.*) to represent a network segment. The default value is ['127.0.0.1', '::1'], which means the module can only be accessed by localhost. public array $allowedIPs = ['127.0.0.1', '::1']

gii\GiiAsset $sourcePath

$sourcePath public property public $sourcePath = '@yii/gii/assets'

gii\GiiAsset $js

$js public property public $js = ['gii.js']

gii\GiiAsset $depends

$depends public property public $depends = ['yii\web\YiiAsset', 'yii\bootstrap\BootstrapAsset', 'yii\bootstrap\BootstrapPluginAsset', 'yii\gii\TypeAheadAsset']

gii\GiiAsset $css

$css public property public $css = ['main.css']

gii\generators\module\Generator validateModuleClass()

validateModuleClass() public method Validates $moduleClass to make sure it is a fully qualified class name. public void validateModuleClass ( )