You are here

function Config_File::_trigger_error_msg in Quiz 6.5

Same name and namespace in other branches
  1. 6.6 includes/moodle/lib/smarty/Config_File.class.php \Config_File::_trigger_error_msg()

@uses trigger_error() creates a PHP warning/error

Parameters

string $error_msg:

integer $error_type one of:

6 calls to Config_File::_trigger_error_msg()
Config_File::get in includes/moodle/lib/smarty/Config_File.class.php
Retrieves config info based on the file, section, and variable name.
Config_File::get_section_names in includes/moodle/lib/smarty/Config_File.class.php
Get all section names from a loaded file.
Config_File::get_var_names in includes/moodle/lib/smarty/Config_File.class.php
Get all global or section variable names.
Config_File::load_file in includes/moodle/lib/smarty/Config_File.class.php
Load a configuration file manually.
Config_File::set_path in includes/moodle/lib/smarty/Config_File.class.php
Set the path where configuration files can be found.

... See full list

File

includes/moodle/lib/smarty/Config_File.class.php, line 381

Class

Config_File
Config file reading class @package Smarty

Code

function _trigger_error_msg($error_msg, $error_type = E_USER_WARNING) {
  trigger_error("Config_File error: {$error_msg}", $error_type);
}