예제 #1
0
 /**
  * Class constructor
  *
  * @return OA_DB_XmlCache
  */
 function __construct()
 {
     parent::__construct(MAX_PATH . '/etc/xmlcache/');
 }
예제 #2
0
 /**
  * A method to retrieve the permanently cached result in case of failures
  *
  * @param string $cacheName The cache name
  * @return mixed The cached content
  */
 function retrievePermanentCache($cacheName)
 {
     $oCache = new OA_PermanentCache();
     return $oCache->get($cacheName);
 }
예제 #3
0
 /**
  * Class constructor
  *
  * @return OA_DB_XmlCache
  */
 function OA_DB_XmlCache()
 {
     parent::OA_PermanentCache(MAX_PATH . '/etc/xmlcache/');
 }