[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
This commit is contained in:
Andreas Fischer 2013-02-24 13:03:48 +01:00
parent e8b3e8498d
commit a9037a68c1

View file

@ -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_name The configuration option's name
* @param string $config_value New configuration value * @param string $config_value New configuration value
* @param bool $is_dynamic Whether this variable should be cached or if it * @param bool $is_dynamic Whether this variable should be cached (false) or
* changes too frequently to be efficiently cached. * if it changes too frequently (true) to be
* efficiently cached.
* *
* @return null * @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 string $config_name The configuration option's name
* @param int $increment Amount to increment by * @param int $increment Amount to increment by
* @param bool $is_dynamic Whether this variable should be cached or if it * @param bool $is_dynamic Whether this variable should be cached (false) or
* changes too frequently to be efficiently cached. * if it changes too frequently (true) to be
* efficiently cached.
* *
* @return null * @return null
*/ */