1 <?php
2 /**
3 * XAO_CacheMan.php
4 *
5 * See doc comments on the class for details.
6 *
7 * @author Terence Kearns
8 * @version 1.0
9 * @copyright Terence Kearns 2003
10 * @license LGPL
11 * @package XAO
12 * @link http://xao-php.sourceforge.net
13 */
14
15 /**
16 * Import the root (base) XAO class.
17 *
18 * All classes in the XAO library should have this class at the top of their
19 * inheritance tree. See documentation on the class itself for more details.
20 * Including the following DomDoc class will automatically include the XaoRoot
21 * definition, however, it is included here for clarity and completeness.
22 *
23 * @import XaoRoot
24 */
25 include_once "XAO_XaoRoot.php";
26
27 /**
28 * Cache Manager class
29 *
30 * WARNING - WARNING - WARNING - WARNING - WARNING - WARNING - WARNING
31 * DO NOT ATTEMPT TO USE THIS CLASS. IT IS A WORK IN PROGRESS. IT IS VAPOURWARE.
32 * IT PROBABLY HAS NOT EVEN BEEN THROUGH THE INTERPRETER/PARSER YET. IT WILL NOT
33 * WORK. THE DESIGN WILL CHANGE. THERE'S STILL MUCH WORK TO BE DONE. LEAVE IT.
34 * This class is responsible for providing generic file caching functionality. It
35 * provides any DomDoc derived class with the ability to cache the XML content of
36 * DomDoc::objDoc. This means that applications can cache on any level where
37 * data is aggregated via a DomDoc based class. This class is also used by
38 * AppDoc based classes to support XSLT transformation caching.
39 *
40 * @package XAO
41 */
42 class CacheMan extends XaoRoot {
43
44 var $arrPrm;
45
46 var $blnRaiseExceptions;
47
48 function CacheMan($arrCacheParams) {
49 $this->arrPrm = $arrCacheParams;
50 // to do
51 }
52
53 function strGetCache() {
54 // to do
55 }
56
57 function WriteCache($strPayload) {
58 // to do
59 }
60
61 function uriEnsureKeyPath() {
62 // to do
63 return $uriFile;
64 }
65 }
66
67 ?>