Actions

$data) { foreach ($data as $alias => $details) { echo "\n\t\t\t
".Inflector::humanize($details['controller'])."
"; echo "\n\t\t\t
    \n"; if ($details['controller'] != $this->name && !in_array($details['controller'], $done)) { echo "\t\t\t\t
  • Html->link(sprintf(__('List %s', true), __('" . Inflector::humanize($details['controller']) . "', true)), array('controller' => '{$details['controller']}', 'action' => 'index')); ?>
  • \n"; echo "\t\t\t\t
  • Html->link(sprintf(__('New %s', true), __('" . Inflector::humanize(Inflector::underscore($alias)) . "', true)), array('controller' => '{$details['controller']}', 'action' => 'add')); ?>
  • \n"; $done[] = $details['controller']; } echo "\t\t\t
\n"; } } ?>

";?>

\n";?> $details) { if ($field === $details['foreignKey']) { $isKey = true; echo "\t\t>\n"; echo "\t\t>\n\t\t\tHtml->link(\${$singularVar}['{$alias}']['{$details['displayField']}'], array('controller' => '{$details['controller']}', 'action' => 'view', \${$singularVar}['{$alias}']['{$details['primaryKey']}'])); ?>\n\t\t\t \n\t\t\n"; break; } } } if ($isKey !== true) { echo "\t\t>\n"; echo "\t\t>\n\t\t\t\n\t\t\t \n\t\t\n"; } } ?>

"; ?>