X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fclasses%2Fcachesystem.class.php;h=095187b53146b4684399f46477c887c3b718b5a6;hp=df3c14578cd5f107ab04269dba99f960aeb1fe99;hb=16e8327d8b9ac2f02cf49c6179e7148fc32b1066;hpb=06e24098eb8296f63f7d647c6a630a55ca0fdb94 diff --git a/inc/classes/cachesystem.class.php b/inc/classes/cachesystem.class.php index df3c14578c..095187b531 100644 --- a/inc/classes/cachesystem.class.php +++ b/inc/classes/cachesystem.class.php @@ -152,6 +152,7 @@ class CacheSystem { unset($this->status[$this->name]); } + // Adds a data row (array) to cache file and global cache array function addRow ($data) { // Is the pointe rvalid? if (is_resource($this->pointer)) { @@ -239,6 +240,7 @@ class CacheSystem { } } + // Closes cache file with closing PHP tag function finalize () { // Quit function when no pointer is set if (is_resource($this->pointer)) { @@ -264,6 +266,7 @@ class CacheSystem { } // END - if } + // Loads cache file and returns an array of the cached data function getArrayFromCache () { // Is the cache already loaded? if (isset($this->data[$this->name])) {