File path: dist/twist/Core/Models/Settings.model.php
Namespace: Twist\Core\Models
uninstall
— Remove/Uninstall a particular setting or group of settings form the Database or File depending on how TwistPHP has been configured.
Name | Description |
---|---|
$strPackage | n/a |
[$strKey = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strPackage = 'foo';
$strKey = null;
//Call the function uninstall with the example vars
$resSettings = new \Twist\Core\Models\Settings();
$resSettings -> uninstall($strPackage, $strKey);