src/Web/Result.php
public function getStatusText()
    {
        switch ($this->getStatus()) {
            case self::Status_Success:
                return $this->t('message_response_success');
            case self::Status_Notices:
                return $this->t('message_response_notices');
            case self::Status_Warnings:
                return $this->t('message_response_warnings');
            case self::Status_Errors:
                return $this->t('message_response_errors');
            case self::Status_Exception:
                return $this->t('message_response_exception');
            case null:
                return $this->t('message_response_not_set');
            default:
                return sprintf($this->t('message_response_unknown'), $this->getStatus());
        }
    }
public function getStatusText()
    {
        switch ($this->getStatus()) {
            case self::Status_Success:
                return $this->t('message_response_success');
            case self::Status_Notices:
                return $this->t('message_response_notices');
            case self::Status_Warnings:
                return $this->t('message_response_warnings');
            case self::Status_Errors:
                return $this->t('message_response_errors');
            case self::Status_Exception:
                return $this->t('message_response_exception');
            case null:
                return $this->t('message_response_not_set');
            default:
                return sprintf($this->t('message_response_unknown'), $this->getStatus());
        }
    }
public function getStatusText ( ) { switch ( $ this -> getStatus ( ) ) { case self :: Status_Success : return $ this -> t ( 'message_response_success' ) ; case self :: Status_Notices : return $ this -> t ( 'message_response_notices' ) ; case self :: Status_Warnings : return $ this -> t ( 'message_response_warnings' ) ; case self :: Status_Errors : return $ this -> t ( 'message_response_errors' ) ; case self :: Status_Exception : return $ this -> t ( 'message_response_exception' ) ; case null : return $ this -> t ( 'message_response_not_set' ) ; default : return sprintf ( $ this -> t ( 'message_response_unknown' ) , $ this -> getStatus ( ) ) ; } }
Returns a textual representation of the status.

@return string
Returns a textual representation of the status .