Пример #1
0
 /**
  * Finds a view script from the available directories.
  *
  * @param $name string The base name of the script.
  * @return void
  */
 protected function _script($name)
 {
     if (strpos($name, ".") === false) {
         $name .= ".phtml";
     }
     return parent::_script(strtolower($name));
 }