/home/desid573/book.familycab.com.au/pdd/lib/Cake/Console/Templates/default/views
Edit: /home/desid573/book.familycab.com.au/pdd/lib/Cake/Console/Templates/default/views/view.ctp (6367B)
"; ?>
$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";
}
}
?>
"; ?>
Html->link(__('Edit " . $singularHumanName ."'), array('action' => 'edit', \${$singularVar}['{$modelClass}']['{$primaryKey}'])); ?> \n";
echo "\t\t- Form->postLink(__('Delete " . $singularHumanName . "'), array('action' => 'delete', \${$singularVar}['{$modelClass}']['{$primaryKey}']), array('confirm' => __('Are you sure you want to delete # %s?', \${$singularVar}['{$modelClass}']['{$primaryKey}']))); ?>
\n";
echo "\t\t- Html->link(__('List " . $pluralHumanName . "'), array('action' => 'index')); ?>
\n";
echo "\t\t- Html->link(__('New " . $singularHumanName . "'), array('action' => 'add')); ?>
\n";
$done = array();
foreach ($associations as $type => $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'];
}
}
}
?>
$details): ?>
$details):
$otherSingularVar = Inflector::variable($alias);
$otherPluralHumanName = Inflector::humanize($details['controller']);
?>