WIKINDX API trunk

GLOBALS
in package

GLOBALS

Rather than using the PHP $GLOBALS array for common variables, we store, set and access them from here.

Table of Contents

Properties

$dirtyVars  : mixed
array
$tempStorage  : mixed
temp_storage table variables are stored here
$userVars  : mixed
user variables are stored here
$vars  : mixed
user input as either form data or querystring is all stored in the $vars variable
$WIKINDX_BROWSER_TAB_ID  : mixed
The unique browser tab ID
$WIKINDX_DB_QUERIES  : mixed
The db queries counter
$WIKINDX_DB_TIME_CHRONO  : mixed
The db queries time elapsed
$WIKINDX_ERROR  : mixed
Error messages. A convenient place to store a single error message
$WIKINDX_PAGE_ENDING_TIME_CHRONO  : mixed
The ending time of the entire page
$WIKINDX_PAGE_STARTING_TIME_CHRONO  : mixed
The starting time of the entire page
$WIKINDX_TEMPLATE_VARIABLE_STORE  : mixed
Store all variables in an array that we will give to our template system to render at the end of the script execution Each variable is stored with a key name identical to it's variable name defined in templates.

Properties

$dirtyVars

array

private static mixed $dirtyVars = []

$tempStorage

temp_storage table variables are stored here

private static mixed $tempStorage = []

$userVars

user variables are stored here

private static mixed $userVars = []

$vars

user input as either form data or querystring is all stored in the $vars variable

private static mixed $vars = []

$WIKINDX_BROWSER_TAB_ID

The unique browser tab ID

private static mixed $WIKINDX_BROWSER_TAB_ID = \NULL

$WIKINDX_DB_QUERIES

The db queries counter

private static mixed $WIKINDX_DB_QUERIES = 0

$WIKINDX_DB_TIME_CHRONO

The db queries time elapsed

private static mixed $WIKINDX_DB_TIME_CHRONO = 0

$WIKINDX_ERROR

Error messages. A convenient place to store a single error message

private static mixed $WIKINDX_ERROR = ''

$WIKINDX_PAGE_ENDING_TIME_CHRONO

The ending time of the entire page

private static mixed $WIKINDX_PAGE_ENDING_TIME_CHRONO = \NULL

$WIKINDX_PAGE_STARTING_TIME_CHRONO

The starting time of the entire page

private static mixed $WIKINDX_PAGE_STARTING_TIME_CHRONO = \NULL

$WIKINDX_TEMPLATE_VARIABLE_STORE

Store all variables in an array that we will give to our template system to render at the end of the script execution Each variable is stored with a key name identical to it's variable name defined in templates.

private static mixed $WIKINDX_TEMPLATE_VARIABLE_STORE = []

        
On this page

Search results