Function __global->get_option
Definitions
sources/config.php
- Find the value of the specified configuration option.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$name | ID_TEXT | required parameter | N/A | N/A | The name of the option |
$missing_ok | boolean | False | N/A | N/A | Where to accept a missing option (and return null) |
Return
- The value (null: means either disabled option, or no option found while $missing_ok set)
- Type: ?SHORT_TEXT
- Set: N/A
- Range: N/A