GITLAB

OTHER_COMPANY_PROJECTS / ota

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • ota
  • vendor
  • yiisoft
  • yii2
  • views
  • _addColumns.php
  • cfe42223   提交初始代码 Browse Code »
    曹明
    2019-10-25 19:19:42 +0800  
_addColumns.php 327 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php foreach ($fields as $field): ?>
        $this->addColumn('<?=
            $table
        ?>', '<?=
            $field['property']
        ?>', $this-><?=
            $field['decorators']
        ?>);
<?php endforeach;

echo $this->render('_addForeignKeys', [
    'table' => $table,
    'foreignKeys' => $foreignKeys,
]);