Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

codiant-gii-model

Installation

The preferred way to install this extension is through composer.

composer.phar require navalp/codiant-gii-model:"*" The generators are registered automatically in the application bootstrap process, if the Gii module is enabled Model generator-- · It is used to generates separate model classes to customize ,base and query models classes to regenerate. · Use different templates for model generation.

Use custom generators, model templates (Define it in main-local.php)--

$config['modules']['gii'] = [ 'class' => 'yii\gii\Module', 'generators' => [ 'model' => [ 'class' => 'frontend\codiant\model\Generator', 'templates' => [ //setting for out templates 'model' => '@frontend/codiant/model/default', ] ] ], ];

namespaces--

1.customize class-
		namespace common\models;
2.Base class-
		namespace common\models\base;
3.Query class-
		namespace common\models\query;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages