Contao\Widget::getErrorsAsString PHP Метод

getErrorsAsString() публичный Метод

Return all errors as string separated by a given separator
public getErrorsAsString ( string $strSeparator = null ) : string
$strSeparator string An optional separator (defaults to "
")
Результат string The error messages string
    public function getErrorsAsString($strSeparator = null)
    {
        if ($strSeparator === null) {
            $strSeparator = '<br' . $this->strTagEnding . "\n";
        }
        return $this->hasErrors() ? implode($strSeparator, $this->arrErrors) : '';
    }