You are here

private static function cf_error::p_missing_array_key in Common Functionality 7.2

Reports that a given array is missing a specific array key.

Parameters

cf_error_code $error: The error code class object associated with the error.

string $argument_name: The variable name of the argument in question.

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

1 call to cf_error::p_missing_array_key()
cf_error::missing_array_key in modules/cf_error/classes/cf_error.php
Reports that a given array is missing a specific array key.

File

modules/cf_error/classes/cf_error.php, line 1306
Provides the derror exception class.

Class

cf_error

Code

private static function p_missing_array_key(cf_error_code $error, $argument_name, $key_name) {
  self::p_invalid_variable($error, $argument_name, "The array key '%cf_error-key_name' is missing.", array(
    '%cf_error-key_name' => $key_name,
  ));
}