Globals

Solapas principales

Nombreorden descendente Ubicación Descripción Direct uses Strings
$active_db documentation-6.x/developer/globals.php Active database connection.
$base_path documentation-6.x/developer/globals.php The base path of the drupal installation. At least will default to /. 20 2
$base_root documentation-6.x/developer/globals.php The root URL of the host excludes the path.
$base_theme_info documentation-6.x/developer/globals.php An array of objects that reperesent the base theme. For documentation of the theme object see _init_theme().
$base_url documentation-6.x/developer/globals.php The base URL of the drupal installation. 4
$channel documentation-6.x/developer/globals.php An associative array containing title, link, description and other keys. The link should be an absolute URL.
$conf documentation-6.x/developer/globals.php Array of persistent variables stored in 'variable' table.
$cookie_domain documentation-6.x/developer/globals.php The domain to be used for session cookies.
$custom_theme documentation-6.x/developer/globals.php Name of custom theme to override default theme.
$db_prefix documentation-6.x/developer/globals.php The prefix to be placed on all database tables. 4
$db_type documentation-6.x/developer/globals.php The type of database being used. 15
$db_url documentation-6.x/developer/globals.php The url of the database. Thorough documentation provided in default.settings.php. 1
$element documentation-6.x/developer/globals.php Structured array describing the data to be rendered. 7
$forum_topic_list_header documentation-6.x/developer/globals.php An array of topic header information.
$id documentation-6.x/developer/globals.php Active statistics record id. 30
$image documentation-6.x/developer/globals.php Current image tag used by aggregator. 18
$installed_profile documentation-6.x/developer/globals.php The name of the profile that has just been installed.
$install_locale documentation-6.x/developer/globals.php The locale to use during installation
$item documentation-6.x/developer/globals.php General string or array. 18
$items documentation-6.x/developer/globals.php Array of items used by aggregator. 5
$language documentation-6.x/developer/globals.php An object containing the information for the active language. 61
$last_result documentation-6.x/developer/globals.php Resource of the query executed.
$menu_admin documentation-6.x/developer/globals.php Boolean indicating that a menu administrator is running the menu access check. 1
$multibyte documentation-6.x/developer/globals.php The current multibyte mode. Possible values: UNICODE_ERROR, UNICODE_SINGLEBYTE, UNICODE_MULTIBYTE. 1
$nid documentation-6.x/developer/globals.php Active blog node id. 54
$pager_page_array documentation-6.x/developer/globals.php Result of pager_query() that is utilized by other functions.
$pager_total documentation-6.x/developer/globals.php Array 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_items documentation-6.x/developer/globals.php Array 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().
$profile documentation-6.x/developer/globals.php The name of the currently installed profile. 17
$queries documentation-6.x/developer/globals.php Array of queries that have been executed.
$recent_activity documentation-6.x/developer/globals.php Recent activity statistics generated by statistics_exit().
$tag documentation-6.x/developer/globals.php Active tag name. 3
$theme documentation-6.x/developer/globals.php Name of the active theme. 224 31
$theme_engine documentation-6.x/developer/globals.php The active theme engine related to the active theme. 3
$theme_info documentation-6.x/developer/globals.php Active theme object. For documentation of the theme object see _init_theme().
$theme_key documentation-6.x/developer/globals.php Name of the active theme.
$theme_path documentation-6.x/developer/globals.php Path to the active theme.
$timers documentation-6.x/developer/globals.php Stores timers that have been created by timer_start().
$update_free_access documentation-6.x/developer/globals.php Access control for update.php script. Allows the update.php script to be run when not logged in as and administrator. 2
$user documentation-6.x/developer/globals.php An object representing the user currently visiting the site. 72
$xrds_current_service documentation-6.x/developer/globals.php Array used by XRDS XML parser for OpenID to track parsing state.
$xrds_open_elements documentation-6.x/developer/globals.php Array used by XRDS XML parser for OpenID to track parsing state.
$xrds_services documentation-6.x/developer/globals.php Array used by XRDS XML parser for OpenID to track parsing state.