You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627
  1. <?php
  2. use yii\gii\generators\model\Generator;
  3. /* @var $this yii\web\View */
  4. /* @var $form yii\widgets\ActiveForm */
  5. /* @var $generator yii\gii\generators\model\Generator */
  6. echo $form->field($generator, 'tableName')->textInput(['table_prefix' => $generator->getTablePrefix()]);
  7. echo $form->field($generator, 'modelClass');
  8. echo $form->field($generator, 'ns');
  9. echo $form->field($generator, 'baseClass');
  10. echo $form->field($generator, 'db');
  11. echo $form->field($generator, 'useTablePrefix')->checkbox();
  12. echo $form->field($generator, 'generateRelations')->dropDownList([
  13. Generator::RELATIONS_NONE => 'No relations',
  14. Generator::RELATIONS_ALL => 'All relations',
  15. Generator::RELATIONS_ALL_INVERSE => 'All relations with inverse',
  16. ]);
  17. echo $form->field($generator, 'generateLabelsFromComments')->checkbox();
  18. echo $form->field($generator, 'generateQuery')->checkbox();
  19. echo $form->field($generator, 'queryNs');
  20. echo $form->field($generator, 'queryClass');
  21. echo $form->field($generator, 'queryBaseClass');
  22. echo $form->field($generator, 'enableI18N')->checkbox();
  23. echo $form->field($generator, 'messageCategory');
  24. echo $form->field($generator, 'useSchemaName')->checkbox();