PHP Classes

File: src/forms/data_form.php

Recommend this page to a friend!
  Classes of Insolita   Yii2 Fixture ii   src/forms/data_form.php   Download  
File: src/forms/data_form.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Yii2 Fixture ii
Generate fixture code files from templates scripts
Author: By
Last change:
Date: 2 months ago
Size: 496 bytes
 

Contents

Class file image Download
<?php
/**
 * @var yii\web\View $this
 * @var yii\widgets\ActiveForm $form
 * @var \insolita\fixturegii\generators\DataGenerator $generator
 */

echo $form->field($generator, 'tableName');
echo
$form->field($generator, 'tableIgnore');
echo
$form->field($generator, 'db');
echo
$form->field($generator, 'fixturePath');
?>
<div class="row">
    <div class="col-md-6"><?=$form->field($generator, 'dataLimit')?></div>
    <div class="col-md-6"><?=$form->field($generator, 'dataOffset')?></div>
</div>