private function closeForm() { if (!$this->closed) { // $this->xform .= xHtml::htmlTag( 'fieldset', null, false); $this->xform .= xHtml::htmlTag('form', null, false); $this->closed = true; } }