public function getValidationStatusDescription($status)
    {
        $options = $this->getValidationStatusOptions();
        if (!isset($options[$status])) {
            $status = static::ADDRESS_UNKNOWN;
        }

        return $options[$status];
    }
public function getValidationStatusDescription($status)
    {
        $options = $this->getValidationStatusOptions();
        if (!isset($options[$status])) {
            $status = static::ADDRESS_UNKNOWN;
        }

        return $options[$status];
    }
public function getValidationStatusDescription ( $ status ) { $ options = $ this -> getValidationStatusOptions ( ) ; if ( ! isset ( $ options [ $ status ] ) ) { $ status = static :: ADDRESS_UNKNOWN ; } return $ options [ $ status ] ; }
Returns the label for the given validation status code.

Defaults to 'Unknown' if the code isn't found.

@param int $status Validation status code
@return string Status label
Returns the label for the given validation status code .