You are here

function cf_error_missing_array_key in Common Functionality 7.2

Same name and namespace in other branches
  1. 7 modules/cf_error/cf_error.module \cf_error_missing_array_key()

This is a compatibility function for cf-1.x.

Do not use this. Use cf_error::missing_array_key() 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.

string $key_name: Name of the array key that is missing.

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 182
Common Functionality - 1.x Compatibility module.

Code

function cf_error_missing_array_key($function_history, $argument_name, $key_name, $severity = WATCHDOG_ERROR) {
  if (class_exists('cf_error')) {
    cf_error::missing_array_key($argument_name, $key_name, $severity);
  }
}