library/Garp/Model/Validator/NotEmpty.php
protected function _validateNumber($value, $column) {
        // Not much to check, since 0 is falsy but also a valid integer value.
        if (is_null($value)) {
            throw new Garp_Model_Validator_Exception(
                sprintf(__('%s is a required field'), __(Garp_Util_String::underscoredToReadable($column)))
            );
        }
    }
protected function _validateNumber($value, $column) {
        // Not much to check, since 0 is falsy but also a valid integer value.
        if (is_null($value)) {
            throw new Garp_Model_Validator_Exception(
                sprintf(__('%s is a required field'), __(Garp_Util_String::underscoredToReadable($column)))
            );
        }
    }
protected function _validateNumber ( $ value , $ column ) { // Not much to check, since 0 is falsy but also a valid integer value. if ( is_null ( $ value ) ) { throw new Garp_Model_Validator_Exception ( sprintf ( __ ( '%s is a required field' ) , __ ( Garp_Util_String :: underscoredToReadable ( $ column ) ) ) ) ; } }
Validate the emptiness of a number.

@param mixed $value
@param string $column
@return void
@throws Garp_Model_Validator_Exception
Validate the emptiness of a number .