/** * @return string */ protected function getPagelayoutTemplate() { switch (true) { case $this->isFull : return $this->_params['ModuleName'].'/'.$this->_params['Block'].'/full/pagelayout.tpl'; case $this->isSeo : return $this->_params['ModuleName'].'/'.$this->_params['Block'].'/seo/pagelayout.tpl'; case $this->isHomepage : return $this->_params['ModuleName'].'/'.$this->_params['Block'].'/list-home/pagelayout.tpl'; default : return parent::getPagelayoutTemplate(); } }