mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[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:
parent
e8b3e8498d
commit
a9037a68c1
1 changed files with 6 additions and 4 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue