You are here

function Config_File::set_file_contents in Quiz 6.6

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

Store the contents of a file manually.

Parameters

string $config_file file name of the related contents:

string $contents the file-contents to parse:

File

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

Class

Config_File
Config file reading class @package Smarty

Code

function set_file_contents($config_file, $contents) {
  $this->_config_data[$config_file] = $this
    ->parse_contents($contents);
  return true;
}