public function generateWithError($blnSwitchOrder = false) { $this->strError = $this->getErrorAsHTML(); return $this->generate(); }