Example #1
0
 /**
  * Gets a physical layout template path
  *
  * @param string $layout layout handle (filename without extension)
  * @return string
  */
 public function getLayoutPath($layout)
 {
     if ($path = $this->getRenderer()->getTemplatePath('layout/' . $layout . '.tpl')) {
         return $path;
     } else {
         return parent::getLayoutPath($layout);
     }
 }