2 class Pages_Controller extends Template_Controller {
4 public $template = 'pages/base'; //defaults to template but you can set your own view file
6 public $auto_render = TRUE; //defaults to true, renders the template after the controller method is done
8 public function __construct()
10 parent::__construct(); //necessary
13 public function index()
15 $this->template->title = 'Maemo application for car enthusiasts';
16 $this->template->header = 'Home';
17 $this->template->content = 'HOMEZ';