Example #1
0
 /**
  * Sets up XSLT-specific view settings
  *
  * @return Drake_View_Xslt
  */
 public function init()
 {
     parent::init();
     $viewRenderer = Zend_Controller_Action_HelperBroker::getStaticHelper('ViewRenderer');
     $viewRenderer->setViewSuffix('xsl');
     Zend_View_Helper_PaginationControl::setDefaultViewPartial('_pagination-control.xsl');
     return $this->getView();
 }
Example #2
0
 /**
  * Returns the Zend_View object
  * 
  * @return Zend_View
  */
 public function init()
 {
     parent::init();
     $view = $this->getView();
     $view->doctype('XHTML1_STRICT');
     $view->setEncoding('UTF-8');
     Zend_View_Helper_PaginationControl::setDefaultViewPartial('_pagination-control.phtml');
     return $this->getView();
 }