public static function cf_error::not_numeric in Common Functionality 7.2
Reports that a given argument is supposed to be numeric but is not.
@see: watchdog() @see: watchdog_severity_levels()
Parameters
string $argument_names: The variable name of the argument in question.
int $severity: (optional) The severity of the message, as per RFC 3164. Possible values are WATCHDOG_ERROR, WATCHDOG_WARNING, etc.
Return value
cf_error_code A object containing the processed error, with specified backtrace.
Deprecated
invalid_numeric() should be used instead.
File
- modules/
cf_error/ classes/ cf_error.php, line 397 - Provides the derror exception class.
Class
Code
public static function not_numeric($argument_name, $severity = WATCHDOG_ERROR) {
return self::invalid_numeric($argument_name, $severity);
}