You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
327B

  1. <?php foreach ($fields as $field): ?>
  2. $this->addColumn('<?=
  3. $table
  4. ?>', '<?=
  5. $field['property']
  6. ?>', $this-><?=
  7. $field['decorators']
  8. ?>);
  9. <?php endforeach;
  10. echo $this->render('_addForeignKeys', [
  11. 'table' => $table,
  12. 'foreignKeys' => $foreignKeys,
  13. ]);