Swat/SwatError.php
protected function getSeverityString()
    {
        static $error_types = array(
            E_WARNING => 'Warning',
            E_NOTICE => 'Notice',
            E_USER_ERROR => 'User Fatal Error',
            E_USER_WARNING => 'User Warning',
            E_USER_NOTICE => 'User Notice',
            E_STRICT => 'Forward Compatibility Notice'
        );

        $out = null;
        if (isset($error_types[$this->severity])) {
            $out = $error_types[$this->severity];
        }

        return $out;
    }
protected function getSeverityString()
    {
        static $error_types = array(
            E_WARNING => 'Warning',
            E_NOTICE => 'Notice',
            E_USER_ERROR => 'User Fatal Error',
            E_USER_WARNING => 'User Warning',
            E_USER_NOTICE => 'User Notice',
            E_STRICT => 'Forward Compatibility Notice'
        );

        $out = null;
        if (isset($error_types[$this->severity])) {
            $out = $error_types[$this->severity];
        }

        return $out;
    }
protected function getSeverityString ( ) { static $ error_types = array ( E_WARNING => 'Warning' , E_NOTICE => 'Notice' , E_USER_ERROR => 'User Fatal Error' , E_USER_WARNING => 'User Warning' , E_USER_NOTICE => 'User Notice' , E_STRICT => 'Forward Compatibility Notice' ) ; $ out = null ; if ( isset ( $ error_types [ $ this -> severity ] ) ) { $ out = $ error_types [ $ this -> severity ] ; } return $ out ; }
Gets a string representation of this error's severity

@return string a string representation of this error's severity.
Gets a string representation of this error s severity