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