File path: dist/twist/Core/Models/Settings.model.php
Namespace: Twist\Core\Models
set
— Set a value against a particular setting Key, the value will be stored in the Database or File depending on how TwistPHP has been configured.
Name | Description |
---|---|
$strKey | n/a |
$mxdData | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strKey = 'foo';
$mxdData = 'foo-123';
//Call the function set with the example vars
$resSettings = new \Twist\Core\Models\Settings();
$resSettings -> set($strKey, $mxdData);