Form->create('{$modelClass}'); ?>\n"; ?>
Form->end(__('Submit')); ?>\n";
?>
"; ?>
- Form->postLink(__('Delete'), array('action' => 'delete', \$this->Form->value('{$modelClass}.{$primaryKey}')), array(), __('Are you sure you want to delete # %s?', \$this->Form->value('{$modelClass}.{$primaryKey}'))); ?>"; ?>
- Html->link(__('List " . $pluralHumanName . "'), array('action' => 'index')); ?>"; ?>
$data) {
foreach ($data as $alias => $details) {
if ($details['controller'] != $this->name && !in_array($details['controller'], $done)) {
echo "\t\t- Html->link(__('List " . Inflector::humanize($details['controller']) . "'), array('controller' => '{$details['controller']}', 'action' => 'index')); ?>
\n";
echo "\t\t- Html->link(__('New " . Inflector::humanize(Inflector::underscore($alias)) . "'), array('controller' => '{$details['controller']}', 'action' => 'add')); ?>
\n";
$done[] = $details['controller'];
}
}
}
?>