Untitled

 avatar
unknown
php
4 years ago
373 B
5
Indexable
<?php

class FrontendController extends Zend_Controller_Action
{
    public function indexAction()
    {
        //ustawiam parametr dla strony głównej
        $this->view->is_home = false;
        if($this->_getParam('page') == "home") {
            $this->view->is_home = true;
        }

        $this->view->pageParam = $this->_getParam('page');
    }
}
Editor is loading...