Function __global->config_option_url
Definitions
sources/config2.php
- Get a URL to where to edit a config option.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: object
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $name | ID_TEXT | No | No | required parameter | N/A | N/A | The config option name |
Returns
- URL to set the config option (null: no such option exists)
- Type: ?Tempcode
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get a URL to where to edit a config option.
*
* @param ID_TEXT $name The config option name
* @return ?Tempcode URL to set the config option (null: no such option exists)
*/
function config_option_url(string $name) : ?object
* Get a URL to where to edit a config option.
*
* @param ID_TEXT $name The config option name
* @return ?Tempcode URL to set the config option (null: no such option exists)
*/
function config_option_url(string $name) : ?object

