KWeb  6.4
KSetting Class Reference

This singleton is used to store/retrieve settings. More...

Inheritance diagram for KSetting:
KVarBase KWebSetting

Public Member Functions

 __destruct ()

Static Public Member Functions

static instance ($create=true)

Static Public Attributes

static $inst = null

Protected Member Functions

 __construct ()

Detailed Description

This singleton is used to store/retrieve settings.

Typically, all settings should be set in the config files upon startup.

Call the methods statically (KSetting::$inst->get()). KSetting doesn't have to be initialized before using.

For storing/retrieving request specific variables use KVar.


Constructor & Destructor Documentation

KSetting::__construct ( ) [protected]

Reimplemented from KVarBase.

Reimplemented in KWebSetting.

KSetting::__destruct ( )

Reimplemented from KVarBase.

Reimplemented in KWebSetting.


Member Function Documentation

static KSetting::instance ( create = true) [static]
Returns:
KSetting

Reimplemented in KWebSetting.


Field Documentation

KSetting::$inst = null [static]

Reimplemented in KWebSetting.


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