]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/cachesystem.class.php
Renamed many stuff (again), added points/user breakup:
[mailer.git] / inc / classes / cachesystem.class.php
index df3c14578cd5f107ab04269dba99f960aeb1fe99..095187b53146b4684399f46477c887c3b718b5a6 100644 (file)
@@ -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])) {