portal.mkgtu.ru/common/db/views/_addColumns.php

15 lines
327 B
PHP
Raw Permalink Normal View History

2024-03-28 09:51:45 +03:00
<?php foreach ($fields as $field): ?>
$this->addColumn('<?=
$table
?>', '<?=
$field['property']
?>', $this-><?=
$field['decorators']
?>);
<?php endforeach;
echo $this->render('_addForeignKeys', [
'table' => $table,
'foreignKeys' => $foreignKeys,
]);