function cf_error_invalid_array in Common Functionality 7.2
Same name and namespace in other branches
- 7 modules/cf_error/cf_error.module \cf_error_invalid_array()
This is a compatibility function for cf-1.x.
Do not use this. Use cf_error::invalid_array() instead.
Parameters
array $function_history: An array of function names, ie: array('0' => 'my_function_name').
string $argument_name: The variable name of the argument in question.
int $severity: (optional) This is passed directly to watchdog and represents the severity of the report.
Related topics
File
- modules/
cf_1x_compatibility/ cf_1x_compatibility.module, line 140 - Common Functionality - 1.x Compatibility module.
Code
function cf_error_invalid_array($function_history, $argument_name, $severity = WATCHDOG_ERROR) {
if (class_exists('cf_error')) {
cf_error::invalid_array($argument_name, $severity);
}
}