Contributions API

Globals

Namesort iconLocationDescription
$active_dbdocumentation/ globals.phpActive database connection. See alsodb_set_active
$base_pathdocumentation/ globals.phpThe base path of the drupal installation. At least will default to /. See alsoconf_init
$base_rootdocumentation/ globals.phpThe root URL of the host excludes the path. See alsoconf_init
$base_theme_infodocumentation/ globals.phpAn array of objects that reperesent the base theme. For documentation of the theme object see _init_theme().
$base_urldocumentation/ globals.phpThe base URL of the drupal installation. See alsoconf_init
$channeldocumentation/ globals.phpAn associative array containing title, link, description and other keys. The link should be an absolute URL. See alsoaggregator_element_start
$confdocumentation/ globals.phpThe path to the configuration directory as set by conf_path().
$cookie_domaindocumentation/ globals.phpThe domain to be used form session cookies.
$custom_themedocumentation/ globals.phpName of custom theme to override default theme. See alsoinit_theme
$db_prefixdocumentation/ globals.phpThe prefix to be placed on all database tables.
$db_typedocumentation/ globals.phpThe type of database being used.
$db_urldocumentation/ globals.phpThe url of the database. Thorough documentation provided in default.settings.php.
$elementdocumentation/ globals.phpStructured array describing the data to be rendered. See alsoaggregator_element_start
$forum_topic_list_headerdocumentation/ globals.phpAn array of topic header information.
$iddocumentation/ globals.phpActive statistics record id.
$imagedocumentation/ globals.phpCurrent image tag used by aggregator.
$installed_profiledocumentation/ globals.phpThe name of the profile that has just been installed.
$install_localedocumentation/ globals.phpThe locale to use durring installation See alsost
$itemdocumentation/ globals.phpGeneral string or array. See alsoaggregator_element_start
$itemsdocumentation/ globals.phpArray of items used by aggregator. See alsoaggregator_element_start
$languagedocumentation/ globals.phpAn array containing the information for the active language.
$last_resultdocumentation/ globals.phpResource of the query executed.
$menu_admindocumentation/ globals.phpBoolean indicating that a menu administrator is running the menu access check.
$multibytedocumentation/ globals.phpThe current multibyte mode. Possible values: UNICODE_ERROR, UNICODE_SINGLEBYTE, UNICODE_MULTIBYTE.
$niddocumentation/ globals.phpActive blog node id.
$pager_page_arraydocumentation/ globals.phpResult of pager_query() that is utilized by other functions.
$pager_totaldocumentation/ 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_itemsdocumentation/ 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().
$profiledocumentation/ globals.phpThe name of the currently installed profile.
$queriesdocumentation/ globals.phpArray of queries that have been executed.
$recent_activitydocumentation/ globals.phpRecent activity statistics generated by statistics_exit().
$tagdocumentation/ globals.phpActive tag name. See alsoaggregator_element_start
$themedocumentation/ globals.phpName of the active theme.
$theme_enginedocumentation/ globals.phpThe active theme engine related to the active theme.
$theme_infodocumentation/ globals.phpActive theme object. For documentation of the theme object see _init_theme(). See also_init_theme
$theme_keydocumentation/ globals.phpName of the active theme. See alsoinit_theme
$theme_pathdocumentation/ globals.phpPath to the active theme.
$timersdocumentation/ globals.phpStores timers that have been created by timer_start(). See alsotimer_start
$update_free_accessdocumentation/ globals.phpAccess control for update.php script. Allows the update.php script to be run when not logged in as and administrator.
$update_modedocumentation/ 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
$userdocumentation/ globals.phpRepresentation of the current user. Stores preferences and other user information.
$user6/ modules/ php/ php.module
$xrds_current_servicedocumentation/ globals.phpArray used by XRDS XML parser for OpenID to track parsing state.
$xrds_open_elementsdocumentation/ globals.phpArray used by XRDS XML parser for OpenID to track parsing state.
$xrds_servicesdocumentation/ globals.phpArray used by XRDS XML parser for OpenID to track parsing state.