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

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

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

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

        return $out;
    }
public function alert ( ) { if ( count ( $ this -> errors ) == 0 ) return '' ; $ out = '' ; foreach ( $ this -> errors as $ error ) $ out .= "<p class='alert error'>" . implode ( ' ' , $ error ) . "</p>" ; return $ out ; }
Returns error alerts
Returns error alerts