d47ca8d36e578d30f35a0fab09ff158d1ab4ab88
[speedfreak] / Server / application / controllers / page.php
1 <?php
2 class Page_Controller extends Template_Controller {
3
4         public $template = 'pages/base'; //defaults to template but you can set your own view file
5
6         public $auto_render = TRUE; //defaults to true, renders the template after the controller method is done
7
8         public function __construct()
9         {
10                 parent::__construct(); //necessary
11         }
12
13         public function index()
14         {
15                 $this->template->content= 'to be replaced';
16         }
17 }