X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FCore%2FConfig%2FIConfigAdapter.php;h=5bbb61ae80119ff5d9e02cbe3b2b5f78fe1dc90b;hb=f3da5b3a2f98883e4a06c345dfe2880394f7d21d;hp=d1bb60033166fb97322cfcfb27bf28be985e6c33;hpb=850d9b4c0b595e00e5cd7ec40a2e8c0f0569738f;p=friendica.git diff --git a/src/Core/Config/IConfigAdapter.php b/src/Core/Config/IConfigAdapter.php index d1bb600331..5bbb61ae80 100644 --- a/src/Core/Config/IConfigAdapter.php +++ b/src/Core/Config/IConfigAdapter.php @@ -4,7 +4,7 @@ namespace Friendica\Core\Config; /** * - * @author Hypolite Petovan + * @author Hypolite Petovan */ interface IConfigAdapter { @@ -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,18 +49,18 @@ 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 mixed Stored $value or false if the database update failed + * @return bool Operation success */ public function set($cat, $k, $value); /** * @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