Cotonti\cot
system\functions.php at line 95

Class cot

cot

public class cot

Facade class to access key Cotonti globals regardless of scope

Field Summary
static array

$L

Language strings

static array

$R

Resource strings

static Cache

$cache

Cotonti cache

static array

$cfg

Cotonti configuration

static CotDB

$db

Database connection

static mixed

$db_x

Database table name prefix

static array

$env

Environment settings

static array

$extrafields

Extra fields

static array

$out

Pre-rendered output strings

static array

$structure

Structure tree and properties array

static array

$sys

Temporary system variables

static array

$usr

Current user object

Method Summary
static void

init()

Initializes static members.

Field Detail

system\functions.php at line 130

L

public static array $L
Language strings

system\functions.php at line 140

R

public static array $R
Resource strings

system\functions.php at line 101

cache

public static Cache $cache
Cotonti cache

system\functions.php at line 106

cfg

public static array $cfg
Cotonti configuration

system\functions.php at line 111

db

public static CotDB $db
Database connection

system\functions.php at line 115

db_x

public static mixed $db_x
Database table name prefix

system\functions.php at line 120

env

public static array $env
Environment settings

system\functions.php at line 125

extrafields

public static array $extrafields
Extra fields

system\functions.php at line 135

out

public static array $out
Pre-rendered output strings

system\functions.php at line 145

structure

public static array $structure
Structure tree and properties array

system\functions.php at line 150

sys

public static array $sys
Temporary system variables

system\functions.php at line 155

usr

public static array $usr
Current user object

Method Detail

system\functions.php at line 160

init

public static void init()
Initializes static members. Call this function once all globals are defined.