Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
server/lib/classes/tpl_cache.inc.php
@@ -20,6 +20,7 @@
 * @access public
 */
class tplc extends tpl {
/*-----------------------------------------------------------------------------\
@@ -46,6 +47,7 @@
        return true;
    }
    /**
     * FUNCTION: recache
     * alias for clearCache().
@@ -56,6 +58,7 @@
    function recache() {
        return $this->clearCache();
    }
    /**
     * FUNCTION: setCacheLifeTime
@@ -72,6 +75,7 @@
        $this->OPTIONS['CACHE_LIFETIME'] = $int;
        return true;
    }
    /**
     * FUNCTION: setCacheExtension
@@ -91,6 +95,7 @@
/*----------------------------------------\
          Private Functions
-----------------------------------------*/
    /**
     * FUNCTION: _checkCache
@@ -132,6 +137,7 @@
        return $this->OPTIONS['CACHE_DIRECTORY'].'/'.md5('vlibCachestaR'.realpath($tmplfile)).'.'.$this->OPTIONS['CACHE_EXTENSION'];
    }
    /**
     * FUNCTION: _createCache
     * creates the cached file
@@ -151,6 +157,7 @@
        return true;
    }
    /**
     * FUNCTION: _prepareDirs
     * prepares the directory structure