init
This commit is contained in:
14
vendor/yiisoft/yii2/views/_addColumns.php
vendored
Normal file
14
vendor/yiisoft/yii2/views/_addColumns.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php foreach ($fields as $field): ?>
|
||||
$this->addColumn('<?=
|
||||
$table
|
||||
?>', '<?=
|
||||
$field['property']
|
||||
?>', $this-><?=
|
||||
$field['decorators']
|
||||
?>);
|
||||
<?php endforeach;
|
||||
|
||||
echo $this->render('_addForeignKeys', [
|
||||
'table' => $table,
|
||||
'foreignKeys' => $foreignKeys,
|
||||
]);
|
||||
Reference in New Issue
Block a user