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

Public Member Functions

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

Detailed Description

Implements the site class, which provides site configuration.

The purpose 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 ( )

Initialization

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: