]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/Config/IConfigAdapter.php
Bugfixing PConfig
[friendica.git] / src / Core / Config / IConfigAdapter.php
index f9af253c0b27aed6f51d9dbed74d98874a39f89b..5bbb61ae80119ff5d9e02cbe3b2b5f78fe1dc90b 100644 (file)
@@ -12,7 +12,7 @@ interface IConfigAdapter
         * @brief Loads all configuration values into a cached storage.
         *
         * All configuration values of the system are stored in global cache
-        * which is available under the global variable $a->config
+        * which is available under the global variable Config::$config
         *
         * @param string  $cat The category of the configuration values to load
         *
@@ -25,7 +25,7 @@ interface IConfigAdapter
         * ($family) and a key.
         *
         * Get a particular config value from the given category ($family)
-        * and the $key from a cached storage in $a->config[$uid].
+        * and the $key from a cached storage in static::$config[$uid].
         * $instore is only used by the set_config function
         * to determine if the key already exists in the DB
         * If a key is found in the DB but doesn't exist in
@@ -49,9 +49,9 @@ interface IConfigAdapter
         *
         * Note: Please do not store booleans - convert to 0/1 integer values!
         *
-        * @param string $family The category of the configuration value
-        * @param string $key    The configuration key to set
-        * @param mixed  $value  The value to store
+        * @param string $cat   The category of the configuration value
+        * @param string $k     The configuration key to set
+        * @param mixed  $value The value to store
         *
         * @return bool Operation success
         */
@@ -60,7 +60,7 @@ interface IConfigAdapter
        /**
         * @brief Deletes the given key from the system configuration.
         *
-        * Removes the configured value from the stored cache in $a->config
+        * Removes the configured value from the stored cache in Config::$config
         * and removes it from the database.
         *
         * @param string $cat The category of the configuration value