Open Source Content Management System

MidCOM template global variables

MidCOM template provides its configuration information into a $GLOBALS['midcom_site'] PHP array.

The array contains the following fields:

host - Host object of the current site

in_ais - Boolean telling whether current request is in AIS

root_topic_guid - GUID of the MidCOM root-level topic

root_topic - Root-level topic object of the site

sitegroup - Sitegroup object of the current site

site_encoding - Character encoding of the current site. Typically utf-8

These are only the most important variables. Call print_r() to find out about the rest

Designed by Nemein, hosted by Anykey