PHP Classes

File: crud/form.php

Recommend this page to a friend!
  Classes of Insolita   Yii2 Giitwig   crud/form.php   Download  
File: crud/form.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Giitwig
Implement CRUD applications using Twig templates
Author: By
Last change:
Date: 2 months ago
Size: 604 bytes
 

Contents

Class file image Download
<?php
/* @var $this yii\web\View */
/* @var $form yii\widgets\ActiveForm */
/* @var $generator insolita\giitwig\crud\Generator */

echo $form->field($generator, 'modelClass');
echo
$form->field($generator, 'searchModelClass');
echo
$form->field($generator, 'controllerClass');
echo
$form->field($generator, 'viewPath');
echo
$form->field($generator, 'baseControllerClass');
echo
$form->field($generator, 'indexWidgetType')->dropDownList([
   
'grid' => 'GridView',
   
'list' => 'ListView',
]);
//echo $form->field($generator, 'enableI18N')->checkbox();
echo $form->field($generator, 'messageCategory');