protected function checkAllIntegers()
    {
        $foundNonInt = false;

        $args = func_get_args();

        foreach ($args as $arg) {
            if (!is_int($arg)) {
                $foundNonInt = true;
                break;
            }
        }

        return !$foundNonInt;
    }
protected function checkAllIntegers()
    {
        $foundNonInt = false;

        $args = func_get_args();

        foreach ($args as $arg) {
            if (!is_int($arg)) {
                $foundNonInt = true;
                break;
            }
        }

        return !$foundNonInt;
    }
protected function checkAllIntegers ( ) { $ foundNonInt = false ; $ args = func_get_args ( ) ; foreach ( $ args as $ arg ) { if ( ! is_int ( $ arg ) ) { $ foundNonInt = true ; break ; } } return ! $ foundNonInt ; }
Check if all parameters to the current function are integers

@param mixed
@return boolean true if all parameters are integers
Check if all parameters to the current function are integers