Exemple #1
0
 /**
  * @return string
  * @param string $query
  * @param int $MaximumAge the time in minutes before the cache file 'expires'
  * @desc Returns the data from the cache file associated with $query, else it returns false if there is no cache for $query.
  * @scope public
  */
 function retrieve_sys($CacheTag, $MaximumAge = false, $ForcedCheck = false)
 {
     if (isset($this) && $this instanceof ecache) {
         return $this->retrieve($CacheTag, $MaximumAge, $ForcedCheck, true);
     } else {
         return ecache::retrieve($CacheTag, $MaximumAge, $ForcedCheck, true);
     }
 }