public function __construct(&$view) { parent::__construct($view); }
/** * Process parsed source and render view, * using the data universe. * * @return string * @throws RenderingException */ public function render() { if (!$this->bParsed) { $this->parse(); } if (null != $this->parentViewElement) { $this->rootNode->view =& $this->parentViewElement->view; } if (!$this->rootNode) { throw new XMLParsingException('No template file loaded', '', 0); } $result = $this->rootNode->render(); if (!$this->parentViewElement) { $result = $this->plugIntoSlots($result); } return $result; }