Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- class dodajController_index extends Controller{
- function __construct(){
- parent::__construct();
- }
- function indexAction(){
- /*
- * Plik nowej templatki
- */
- $c = $this->view->fetch('contents/add/home.tpl');
- /*
- * Dodanie nowego widoku do templatki
- */
- $this->view->assign('contentPage',$c);
- /*
- * Odpalanie głównego widoku (header + footer)
- */
- $this->view->display('page.tpl');
- //var_dump($this->URIparams);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement