Function Forum_driver_smf2->get_setting
Definitions
sources/forum/smf2.php
- Get an SMF setting.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$setting | ID_TEXT | required parameter | N/A | N/A | The name of the setting |
$allow_missing | boolean | False | N/A | N/A | Whether to allow a missing setting without throwing an error |
Return
- The setting value (null: Setting does not exist and $allow_setting is true)
- Type: ?string
- Set: N/A
- Range: N/A