diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-02-24 13:03:48 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-02-24 13:08:00 +0100 |
commit | a9037a68c177d396b2ed4b9bfcaad64536a01aaa (patch) | |
tree | 7e36fc00859db57d35fcbf5d7ffbe41bd3b42c81 /phpBB/includes/functions.php | |
parent | e8b3e8498d9842296a905fdaad8c0c32e31bceb4 (diff) | |
download | forums-a9037a68c177d396b2ed4b9bfcaad64536a01aaa.tar forums-a9037a68c177d396b2ed4b9bfcaad64536a01aaa.tar.gz forums-a9037a68c177d396b2ed4b9bfcaad64536a01aaa.tar.bz2 forums-a9037a68c177d396b2ed4b9bfcaad64536a01aaa.tar.xz forums-a9037a68c177d396b2ed4b9bfcaad64536a01aaa.zip |
[ticket/7262] Add $is_dynamic example to set_config() and set_config_count().
The logic is the other way around here in comparison to develop's
phpbb_config_db class, so add examples to make things more clear.
PHPBB3-7262
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 04b69f8c69..2ca7d7f898 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -141,8 +141,9 @@ function request_var($var_name, $default, $multibyte = false, $cookie = false) * * @param string $config_name The configuration option's name * @param string $config_value New configuration value -* @param bool $is_dynamic Whether this variable should be cached or if it -* changes too frequently to be efficiently cached. +* @param bool $is_dynamic Whether this variable should be cached (false) or +* if it changes too frequently (true) to be +* efficiently cached. * * @return null */ @@ -177,8 +178,9 @@ function set_config($config_name, $config_value, $is_dynamic = false) * * @param string $config_name The configuration option's name * @param int $increment Amount to increment by -* @param bool $is_dynamic Whether this variable should be cached or if it -* changes too frequently to be efficiently cached. +* @param bool $is_dynamic Whether this variable should be cached (false) or +* if it changes too frequently (true) to be +* efficiently cached. * * @return null */ |