KWeb
6.4
|
This singleton is used to store/retrieve variables, that are valid for current request. More...
Public Member Functions | |
__destruct () | |
Static Public Member Functions | |
static | instance ($create=true) |
Static Public Attributes | |
static | $inst = null |
Protected Member Functions | |
__construct () |
This singleton is used to store/retrieve variables, that are valid for current request.
By using KVar you can pass special variables to templates, store specific information that will be read in other parts of the system and so on.
Call the methods statically (KVar::$inst->get()). KVar doesn't have to be initialized before using.
For retrieving settings use KSetting.
KVar::__construct | ( | ) | [protected] |
Reimplemented from KVarBase.
KVar::__destruct | ( | ) |
Reimplemented from KVarBase.
static KVar::instance | ( | $ | create = true | ) | [static] |
KVar::$inst = null [static] |