Enumerations | Functions | Variables
index.php File Reference

Enumerations

enum  BMLT_EXEC

Functions

if($server instanceof
c_comdef_server
DB_Connect_and_Upgrade ()
 This function checks to make sure the database is correct for the current version.
 GetServerInfo ($in_offset)
 This function parses the main server version from the XML file.
 DList2Array ($in_xml_dom_list)
 This function returns a DOMNodeList as an array.
 XML2Array ($in_xml_dom_obj)
 This function returns an XML entity or a DOMNodeList as an array.
 special_small_site ($in_http_vars=null)
 see if we are dealing with a mobile browser that uses a small screen and limited bandwidth.
 optimizeReturn ($in_data)
 Optimizes the given browser code. It removes PHP, for safety.

Variables

 $http_vars = array_merge_recursive ( $_GET, $_POST )
if(!isset($offset)) $config_file_path = $offset.'server/config/auto-config.inc.php'
if(file_exists($config_file_path))
if(!isset($theme)||!$theme) 
$shortcut_icon = "themes/$theme/html/images/shortcut.png"
 $server = c_comdef_server::MakeServer()

Enumeration Type Documentation

enum BMLT_EXEC

Function Documentation

if ($server instanceof c_comdef_server) DB_Connect_and_Upgrade ( )

This function checks to make sure the database is correct for the current version.

DList2Array ( in_xml_dom_list)

This function returns a DOMNodeList as an array.

Returns:
an associative, nested array, containing the data in the DOMNodeList.

Referenced by XML2Array().

GetServerInfo ( in_offset)

This function parses the main server version from the XML file.

Returns:
a string, containing the version info.
optimizeReturn ( in_data)

Optimizes the given browser code. It removes PHP, for safety.

Returns:
a string, containing the optimized browser code.
special_small_site ( in_http_vars = null)

see if we are dealing with a mobile browser that uses a small screen and limited bandwidth.

Returns:
a Boolean. True if the browser is one that should get the special version of our site.
Parameters:
in_http_varsThe HTTP GET and POST variables. If not supplied, we try GET first, then POST.
XML2Array ( in_xml_dom_obj)

This function returns an XML entity or a DOMNodeList as an array.

Returns:
an associative, nested array, containing the data in the XML/DOMNodeList.

Referenced by DList2Array(), and GetServerInfo().


Variable Documentation

if (!isset($offset)) $config_file_path = $offset.'server/config/auto-config.inc.php'
$http_vars = array_merge_recursive ( $_GET, $_POST )
$server = c_comdef_server::MakeServer()
if (file_exists($config_file_path)) if (!isset($theme)||!$theme) $shortcut_icon = "themes/$theme/html/images/shortcut.png"
 All Classes Files Functions Variables Enumerations