File path: dist/twist/Core/Utilities/Framework.utility.php
Namespace: Twist\Core\Utilities
setting
— Get or set a single setting by its key, pass in a value (2nd parameter to set/store the value against the key).
Name | Description |
---|---|
$strKey | n/a |
[$strValue = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strKey = 'foo';
$strValue = null;
//Call the function setting with the example vars
Twist::Framework() -> setting($strKey, $strValue);