function view() { $context = new XMLElement('context'); General::array_to_xml($context, $this->_context); $this->_XML->appendChild($context); parent::view(); }