2017 © Pedro Peláez
 

yii2-extension yii2-custommodel

The Custom model integration for the Yii framework

image

spawan/yii2-custommodel

The Custom model integration for the Yii framework

  • Tuesday, December 8, 2015
  • by spawan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 211 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

gii-custommodel

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

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

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

namespaces--, (*4)

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

The Versions

08/12 2015

dev-master

9999999-dev

The Custom model integration for the Yii framework

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 helper generator model