public function getErrorsAsString($strSeparator = null) { if ($strSeparator === null) { $strSeparator = '<br' . $this->strTagEnding . "\n"; } return $this->hasErrors() ? implode($strSeparator, $this->arrErrors) : ''; }