Public Member Functions | |
| init ($domain=null) | |
| get_config () | |
| save_config ($item=null) | |
Public Attributes | |
| $domain = null | |
Implements the site class, which provides site configuration.
The goal of this library is to control certain configuration parameters and store them in the database. All parameters should be declared and ititialized with default values in the standard config file. This library is automatically loaded before any controllers get called.
| Site::get_config | ( | ) |
Get the current site configuration settings.
| Site::init | ( | $domain = null | ) |
Initialization
| string | $domain | Optional domain (config group) |
| Site::save_config | ( | $item = null | ) |
Save the current configuration
| string | $item | An optional config item to save |
1.8.5