Globals

Namesort iconLocationDescription
$active_dbdeveloper/ globals.phpActive database connection. See alsodb_set_active()
$base_pathdeveloper/ globals.phpThe base path of the drupal installation. At least will default to /. See alsoconf_init()
$base_rootdeveloper/ globals.phpThe root URL of the host excludes the path. See alsoconf_init()
$base_theme_infodeveloper/ globals.phpAn array of objects that reperesent the base theme. For documentation of the theme object see _init_theme(). See also_init_theme()
$base_urldeveloper/ globals.phpThe base URL of the drupal installation. See alsoconf_init()
$channeldeveloper/ globals.phpAn associative array containing title, link, description and other keys. The link should be an absolute URL. See alsoaggregator_element_start()
$confdeveloper/ globals.phpThe path to the configuration directory as set by conf_path().
$cookie_domaindeveloper/ globals.phpThe domain to be used form session cookies.
$custom_themedeveloper/ globals.phpName of custom theme to override default theme. See alsoinit_theme()
$db_prefixdeveloper/ globals.phpThe prefix to be placed on all database tables.
$db_typedeveloper/ globals.phpThe type of database being used.
$db_urldeveloper/ globals.phpThe url of the database. Thorough documentation provided in default.settings.php.
$elementdeveloper/ globals.phpStructured array describing the data to be rendered. See alsoaggregator_element_start()
$forum_topic_list_headerdeveloper/ globals.phpAn array of topic header information.
$iddeveloper/ globals.phpActive statistics record id.
$imagedeveloper/ globals.phpCurrent image tag used by aggregator.
$installed_profiledeveloper/ globals.phpThe name of the profile that has just been installed.
$install_localedeveloper/ globals.phpThe locale to use during installation See alsost()
$itemdeveloper/ globals.phpGeneral string or array. See alsoaggregator_element_start()
$itemsdeveloper/ globals.phpArray of items used by aggregator. See alsoaggregator_element_start()
$languagedeveloper/ globals.phpAn object containing the information for the active language.
$last_resultdeveloper/ globals.phpResource of the query executed.
$menu_admindeveloper/ globals.phpBoolean indicating that a menu administrator is running the menu access check.
$multibytedeveloper/ globals.phpThe current multibyte mode. Possible values: UNICODE_ERROR, UNICODE_SINGLEBYTE, UNICODE_MULTIBYTE.
$niddeveloper/ globals.phpActive blog node id.
$pager_page_arraydeveloper/ globals.phpResult of pager_query() that is utilized by other functions.
$pager_totaldeveloper/ globals.phpArray of the total number of pages per pager. The key is will be 0 by defualt, but can be specified via the $element parameter of pager_query().
$pager_total_itemsdeveloper/ globals.phpArray of the total number of items per pager. The key is will be 0 by defualt, but can be specified via the $element parameter of pager_query().
$profiledeveloper/ globals.phpThe name of the currently installed profile.
$queriesdeveloper/ globals.phpArray of queries that have been executed.
$recent_activitydeveloper/ globals.phpRecent activity statistics generated by statistics_exit().
$tagdeveloper/ globals.phpActive tag name. See alsoaggregator_element_start()
$themedeveloper/ globals.phpName of the active theme.
$theme_enginedeveloper/ globals.phpThe active theme engine related to the active theme.
$theme_infodeveloper/ globals.phpActive theme object. For documentation of the theme object see _init_theme(). See also_init_theme()
$theme_keydeveloper/ globals.phpName of the active theme. See alsoinit_theme()
$theme_pathdeveloper/ globals.phpPath to the active theme.
$timersdeveloper/ globals.phpStores timers that have been created by timer_start(). See alsotimer_start()
$update_free_accessdeveloper/ globals.phpAccess control for update.php script. Allows the update.php script to be run when not logged in as and administrator.
$update_modedeveloper/ globals.phpDisabled caling hook_boot() and hook_exit() during the update process (update.php) since the database is in a largely unknown state. See alsodrupal_goto()
$usermodules/ php/ php.module
$userdeveloper/ globals.phpRepresentation of the current user. Stores preferences and other user information.
$xrds_current_servicedeveloper/ globals.phpArray used by XRDS XML parser for OpenID to track parsing state.
$xrds_open_elementsdeveloper/ globals.phpArray used by XRDS XML parser for OpenID to track parsing state.
$xrds_servicesdeveloper/ globals.phpArray used by XRDS XML parser for OpenID to track parsing state.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.