public function init() { parent::init(); if (!empty($this->mTemplate)) { $this->mTemplate->aSubNavigation = array(array('url' => $this->oRouter->getPageUrl('/movie/add'), 'text' => 'Add from disk'), array('url' => $this->oRouter->getPageUrl('/movie/towatch'), 'text' => 'Add to watch')); } }
public function init() { parent::init(); $this->mTemplate->aSubNavigation = array(array('url' => '#', 'text' => 'Show all'), array('url' => '#', 'text' => 'Latest trailers'), array('url' => '#', 'text' => 'top rated'), array('url' => '#', 'text' => 'Most commented')); }
public function getUrl($sPath = '') { return parent::getPageUrl($sPath); }