Advertisement
Remote

Untitled

Mar 13th, 2014
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. <?
  2. class dodajController_index extends Controller{
  3.     function __construct(){
  4.         parent::__construct();
  5.     }
  6.  
  7.     function indexAction(){
  8.         /*
  9.         * Plik nowej templatki
  10.         */
  11.         $c = $this->view->fetch('contents/add/home.tpl');
  12.  
  13.         /*
  14.         * Dodanie nowego widoku do templatki
  15.         */
  16.         $this->view->assign('contentPage',$c);
  17.  
  18.         /*
  19.         * Odpalanie głównego widoku (header + footer)
  20.         */
  21.         $this->view->display('page.tpl');
  22.  
  23.         //var_dump($this->URIparams);
  24.     }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement