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