]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
documentation updates
authorcash <cash.costello@gmail.com>
Sat, 13 Apr 2013 17:08:56 +0000 (13:08 -0400)
committercash <cash.costello@gmail.com>
Sat, 13 Apr 2013 17:08:56 +0000 (13:08 -0400)
engine/classes/ElggStaticVariableCache.php
engine/lib/database.php

index 17d8494004026a512bf1c3034231f5964a8d0060..9c14fdfba02cb1eabdec99d177e462d4efacf72a 100644 (file)
@@ -11,7 +11,7 @@ class ElggStaticVariableCache extends ElggSharedMemoryCache {
        /**
         * The cache.
         *
-        * @var unknown_type
+        * @var array
         */
        private static $__cache;
 
@@ -22,7 +22,7 @@ class ElggStaticVariableCache extends ElggSharedMemoryCache {
         * memory, optionally with a given namespace (to avoid overlap).
         *
         * @param string $namespace The namespace for this cache to write to.
-        * @note namespaces of the same name are shared!
+        * @warning namespaces of the same name are shared!
         */
        function __construct($namespace = 'default') {
                $this->setNamespace($namespace);
@@ -80,7 +80,7 @@ class ElggStaticVariableCache extends ElggSharedMemoryCache {
        }
 
        /**
-        * This was probably meant to delete everything?
+        * Clears the cache for a particular namespace
         *
         * @return void
         */
index 2b348366d766f8a941d34e933deb6574d4c87656..18235149dda259f51a0c62998e044e04e5b274a1 100644 (file)
@@ -20,6 +20,7 @@
  * @warning be array this var may be an array or ElggStaticVariableCache depending on when called :(
  *
  * @global ElggStaticVariableCache|array $DB_QUERY_CACHE
+ * @access private
  */
 global $DB_QUERY_CACHE;
 $DB_QUERY_CACHE = array();
@@ -40,6 +41,7 @@ $DB_QUERY_CACHE = array();
  * </code>
  *
  * @global array $DB_DELAYED_QUERIES
+ * @access private
  */
 global $DB_DELAYED_QUERIES;
 $DB_DELAYED_QUERIES = array();
@@ -51,6 +53,7 @@ $DB_DELAYED_QUERIES = array();
  * $dblink as $dblink[$name] => resource.  Use get_db_link($name) to retrieve it.
  *
  * @global resource[] $dblink
+ * @access private
  */
 global $dblink;
 $dblink = array();
@@ -61,6 +64,7 @@ $dblink = array();
  * Each call to the database increments this counter.
  *
  * @global integer $dbcalls
+ * @access private
  */
 global $dbcalls;
 $dbcalls = 0;