You are here

function Smarty::config_load in Quiz 6.5

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

load configuration values

Parameters

string $file:

string $section:

string $scope:

File

includes/moodle/lib/smarty/Smarty.class.php, line 1313

Class

Smarty
@package Smarty

Code

function config_load($file, $section = null, $scope = 'global') {
  require_once $this
    ->_get_plugin_filepath('function', 'config_load');
  smarty_function_config_load(array(
    'file' => $file,
    'section' => $section,
    'scope' => $scope,
  ), $this);
}