You are here

private static function cf_error::p_empty_string in Common Functionality 7.2

Reports that a given argument is supposed to be non-empty string but is not.

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.

2 calls to cf_error::p_empty_string()
cf_error::empty_string in modules/cf_error/classes/cf_error.php
Reports that a given argument is supposed to be non-empty string but is not.
cf_error::p_report_invalid_argument_string in modules/cf_error/classes/cf_error.php
Reports an invalid variable passed to one of this classes functions.

File

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

Class

cf_error

Code

private static function p_empty_string(cf_error_code $error, $argument_name) {
  self::p_invalid_variable($error, $argument_name, "Must not be an empty string.", array());
}