AppSettings
in package
AppSettings manage the essential data settings of the app.
Tags
Table of Contents
- get() : mixed
- Return the value of property in group.
- load() : mixed
- Load default App Settings.
- reload() : mixed
- Reloads settings from database.
- save() : mixed
- Store the model data in the database.
- set() : mixed
- Set the value for group property.
Methods
get()
Return the value of property in group.
public
static get(string $group, string $property[, mixed $default = null ]) : mixed
Parameters
- $group : string
- $property : string
- $default : mixed = null
Return values
mixed —load()
Load default App Settings.
public
load() : mixed
Return values
mixed —reload()
Reloads settings from database.
public
static reload() : mixed
Return values
mixed —save()
Store the model data in the database.
public
save() : mixed
Return values
mixed —set()
Set the value for group property.
public
set(string $group, string $property, string $value) : mixed
Parameters
- $group : string
- $property : string
- $value : string