Location: PHPKode > projects > Recess PHP Framework > recess/recess/apps/tools/templates/scaffolding/views/home/index.template.php
<?php
Layout::extend('layouts/master');
$title = 'Home';
?>
<h1>Hello Kick-ass Developer!</h1>
<h2 class="highlight"><?php echo $flash; ?></h2>
<ul>
<?php
// This is a really slow way to generate navigation.
// You probably should not use this in a real app. Thx -Kris
Library::import('recess.lang.Inflector');
$app = $controller->application();
$controllers = $app->listControllers();
foreach($controllers as $controllerClass):
	$title = Inflector::toEnglish(str_replace('Controller','',$controllerClass));
?>
	<li><?php echo Html::anchor(Url::action($controllerClass . '::index'), $title)?></li>
<?php endforeach; ?>
</ul>
Return current item: Recess PHP Framework