2017 © Pedro Peláez
 

yii2-extension codiant-gii-model

Gii Model generator for Yii 2 Framework

image

navalp/codiant-gii-model

Gii Model generator for Yii 2 Framework

  • Thursday, January 22, 2015
  • by navalp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

codiant-gii-model

Installation, (*1)

The preferred way to install this extension is through composer., (*2)

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., (*3)

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

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

namespaces--, (*6)

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

The Versions

22/01 2015

dev-master

9999999-dev https://github.com/navalp/codiant-gii-model

Gii Model generator for Yii 2 Framework

  Sources   Download

The Requires

 

yii2 crud gii