-
Notifications
You must be signed in to change notification settings - Fork 4
Settings Methods
Ghost1227 edited this page May 5, 2016
·
1 revision
The following methods are available for working with your settings:
Arguement | Description |
---|---|
$key |
string The settings key to retrieve |
$default |
mixed A default value to return if the key is unavailable |
Arguement | Description |
---|---|
$key |
string The settings key to update |
$value |
mixed The new value for this key. If you leave this empty or set it to false , the key will be deleted!
|
Arguement | Description |
---|---|
$key |
string The settings key to delete |
Retrieves all settings, does not take an arguement.
Beyond the above listed methods, there are numerous hooks scattered throughout the library. Please feel free to tear it appart, figure out how it works, and improve it if you can!