<?php
/**
* Created by Nick Verheijen
* Date: 12/19/11
* Time: 2:05 PM
*/
namespace Navigation; class Controller_Navigate extends \Controller { public function action_show()
{
echo "test";
} }
$this->template->menu = Request::forge('navigation/navigate/show');
class Controller_Frontend extends \Controller
{
// fetch a partial
$partial = \Request::forge('navigation/navigate/show', false)->body();
}
namespace Navigation;
class Controller_Navigate extends \Controller
{
public function action_show()
{
// return the modules/navigation/views/navview.php view file
return \Response::forge(\View::forge('navview'));
}
}
It looks like you're new here. If you want to get involved, click one of these buttons!