src/MvcError.php
public function ul($class = 'warn') {
        if (count($this->errors) == 0)
            return '';

        $out = "<ul class='$class'>";
        foreach ($this->errors as $error)
            $out .= "<li>" . implode("</li><li>", $error) . "</li>";
        $out .= "</ul>";

        return $out;
    }
public function ul($class = 'warn') {
        if (count($this->errors) == 0)
            return '';

        $out = "<ul class='$class'>";
        foreach ($this->errors as $error)
            $out .= "<li>" . implode("</li><li>", $error) . "</li>";
        $out .= "</ul>";

        return $out;
    }
public function ul ( $ class = 'warn' ) { if ( count ( $ this -> errors ) == 0 ) return '' ; $ out = "<ul class='$class'>" ; foreach ( $ this -> errors as $ error ) $ out .= "<li>" . implode ( "</li><li>" , $ error ) . "</li>" ; $ out .= "</ul>" ; return $ out ; }
Returns an unordered list of error messages
Returns an unordered list of error messages