Untitled

mail@pastecode.io avatar
unknown
php
3 years ago
373 B
3
Indexable
Never
<?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');
    }
}