2 class Page_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->content= 'to be replaced';