QVCI Library 3.1
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes | List of all members
Site Class Reference

Public Member Functions

 init ($domain=null)
 
 get_config ()
 
 save_config ($item=null)
 

Public Attributes

 $domain = null
 

Detailed Description

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.

Member Function Documentation

Site::get_config ( )

Get the current site configuration settings.

Returns
array
Site::init (   $domain = null)

Initialization

Parameters
string$domainOptional domain (config group)
Site::save_config (   $item = null)

Save the current configuration

Parameters
string$itemAn optional config item to save

The documentation for this class was generated from the following file: