$_details) { if ($_field === $_details['foreignKey']) { $isKey = true; echo "\t\t
" . Inflector::humanize($_alias) . "
\n"; echo "\t\t
\n\t\t\t"; echo $this->Html->link( ${$singularVar}[$_alias][$_details['displayField']], array('plugin' => $_details['plugin'], 'controller' => $_details['controller'], 'action' => 'view', ${$singularVar}[$_alias][$_details['primaryKey']]) ); echo "\n\t\t 
\n"; break; } } } if ($isKey !== true) { echo "\t\t
" . Inflector::humanize($_field) . "
\n"; echo "\t\t
" . h(${$singularVar}[$modelClass][$_field]) . " 
\n"; } } ?>

$_details): ?> $_details): $otherSingularVar = Inflector::variable($_alias); ?>