public function getSeverityClass()
    {
        switch ($this->getSeverity()) {
            case self::SEVERITY_CRITICAL:
                return 'danger';

            case self::SEVERITY_HIGH:
                return 'warning';

            case self::SEVERITY_NORMAL:
                return 'info';

            case self::SEVERITY_LOW:
                return 'default';
        }
    }
public function getSeverityClass()
    {
        switch ($this->getSeverity()) {
            case self::SEVERITY_CRITICAL:
                return 'danger';

            case self::SEVERITY_HIGH:
                return 'warning';

            case self::SEVERITY_NORMAL:
                return 'info';

            case self::SEVERITY_LOW:
                return 'default';
        }
    }
public function getSeverityClass ( ) { switch ( $ this -> getSeverity ( ) ) { case self :: SEVERITY_CRITICAL : return 'danger' ; case self :: SEVERITY_HIGH : return 'warning' ; case self :: SEVERITY_NORMAL : return 'info' ; case self :: SEVERITY_LOW : return 'default' ; } }
Get the class to apply to HTML elements representing this error.
@return string
Get the class to apply to HTML elements representing this error .