Example #1
0
 /**
  * Get the extensions that view files can use.
  *
  * @return array Array of extensions view files use.
  * @access protected
  */
 protected function _getExtensions()
 {
     $exts = parent::_getExtensions();
     if ($this->ext !== '.html') {
         array_unshift($exts, '.html');
     }
     if ($this->ext !== '.xhtml') {
         array_unshift($exts, '.xhtml');
     }
     if ($this->ext !== '.zpt') {
         array_unshift($exts, '.zpt');
     }
     return $exts;
 }