code style. FOREACH

This commit is contained in:
Alexander Mohorev
2014-03-03 21:47:47 +03:00
parent b2f1b00bf2
commit 95ea1c20bb
59 changed files with 141 additions and 141 deletions

View File

@@ -18,7 +18,7 @@ namespace <?= $generator->ns ?>;
class <?= $generator->getControllerClass() ?> extends <?= '\\' . trim($generator->baseClass, '\\') . "\n" ?>
{
<?php foreach($generator->getActionIDs() as $action): ?>
<?php foreach ($generator->getActionIDs() as $action): ?>
public function action<?= Inflector::id2camel($action) ?>()
{
return $this->render('<?= $action ?>');