Global Variables

The following are global variables in SCHLIX CMS v2.x

 

Global Variable Explanation
$SystemDB an instance of SCHLIX\cmsDatabase.
$SystemLog an instance of SCHLIX\cmsLogger.
$SystemMail an instance of \App\EmailQueue
$HTMLHeader an instance of SCHLIX\cmsHTMLPageHeader
$SiteTheme an instance of \App\Theme
$Application an instance of currently running application (e.g. Blog, HTML, etc)
$CurrentWebSiteThemeName The name of current website theme
$CurrentUser an instance of \App\Users

Less commonly used global variables:

Global Variable Explanation
$SchlixSessionHandler an instance of SCHLIX\cmsDatabase.
$Versioning document versioning, instance of \App\Versioning
$__html_output the current text to be output to the page