Beispiel #1
0
            case 4:
                // EXCEEDS_PAD
                return true;
            default:
                // valid if lenient and not fixed width
                return !$strict && !$fixedWidth;
        }
    }
    function __toString()
    {
        switch ($this->ordinal) {
            case 0:
                return 'NORMAL';
            case 1:
                return 'ALWAYS';
            case 2:
                return 'NEVER';
            case 3:
                return 'NOT_NEGATIVE';
            case 4:
                return 'EXCEEDS_PAD';
        }
        return '';
    }
    function name()
    {
        return $this->__toString();
    }
}
SignStyle::init();