示例#1
0
 /**
  * Prepend the xml prolog
  *
  * @param ViewContextTemplate  $context A view context object
  * @return string  The output of the view
  */
 protected function _actionRender(ViewContextTemplate $context)
 {
     //Prepend the xml prolog
     $content = '<?xml version="1.0" encoding="utf-8" ?>';
     $content .= parent::_actionRender($context);
     return $content;
 }