comparison InputParser.inc @ 69:dd4ddedca4c5

Add convenience header ScriptIncludeCache Split CacheTimeCheck and FileCacheSet
author Tom Fredrik "BFG" Klaussen <bfg@blenning.no>
date Thu, 11 Oct 2012 23:32:14 +0200
parents 4dfa3f6a2dc1
children 7c68015b211a
comparison
equal deleted inserted replaced
68:4dfa3f6a2dc1 69:dd4ddedca4c5
8 8
9 /** 9 /**
10 * Constructs a new InputParser object 10 * Constructs a new InputParser object
11 * 11 *
12 * @param $name name of file to read configuration from 12 * @param $name name of file to read configuration from
13 * @param $masterCache CacheTimeCheck cache object to use as parent for this inputParsercache 13 *
14 * 14 * @param $masterCache CacheTimeCheck cache object to use as parent
15 * @todo masterCache is currently used as is, fix so linked caches 15 * for this inputParsercache
16 * may be used.
17 */ 16 */
18 function __construct($name, $masterCache) { 17 function __construct($name, $masterCache) {
19 $this->master = new DOMDocument(); 18 $this->master = new DOMDocument();
20 $cache = new CacheTimeCheck($name); 19 $cache = new CacheTimeCheck($name);
21 $cache->addParent($masterCache); 20 $cache->addParent($masterCache);