globals.php

  1. drupal
    1. drupal6

Version 1.3.2.5 (checked in on 2009/11/10 at 16:07:52 by jhodgdon)

These are the global variables that Drupal uses.

Globale Variablen

NameBeschreibung
$active_dbActive database connection.
$base_pathThe base path of the drupal installation. At least will default to /.
$base_rootThe root URL of the host excludes the path.
$base_theme_infoAn array of objects that reperesent the base theme. For documentation of the theme object see _init_theme().
$base_urlThe base URL of the drupal installation.
$channelAn associative array containing title, link, description and other keys. The link should be an absolute URL.
$confArray of persistent variables stored in 'variable' table.
$cookie_domainThe domain to be used form session cookies.
$custom_themeName of custom theme to override default theme.
$db_prefixThe prefix to be placed on all database tables.
$db_typeThe type of database being used.
$db_urlThe url of the database. Thorough documentation provided in default.settings.php.
$elementStructured array describing the data to be rendered.
$forum_topic_list_headerAn array of topic header information.
$idActive statistics record id.
$imageCurrent image tag used by aggregator.
$installed_profileThe name of the profile that has just been installed.
$install_localeThe locale to use during installation
$itemGeneral string or array.
$itemsArray of items used by aggregator.
$languageAn object containing the information for the active language.
$last_resultResource of the query executed.
$menu_adminBoolean indicating that a menu administrator is running the menu access check.
$multibyteThe current multibyte mode. Possible values: UNICODE_ERROR, UNICODE_SINGLEBYTE, UNICODE_MULTIBYTE.
$nidActive blog node id.
$pager_page_arrayResult of pager_query() that is utilized by other functions.
$pager_totalArray 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_itemsArray 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().
$profileThe name of the currently installed profile.
$queriesArray of queries that have been executed.
$recent_activityRecent activity statistics generated by statistics_exit().
$tagActive tag name.
$themeName of the active theme.
$theme_engineThe active theme engine related to the active theme.
$theme_infoActive theme object. For documentation of the theme object see _init_theme().
$theme_keyName of the active theme.
$theme_pathPath to the active theme.
$timersStores timers that have been created by timer_start().
$update_free_accessAccess control for update.php script. Allows the update.php script to be run when not logged in as and administrator.
$update_modeDisabled caling hook_boot() and hook_exit() during the update process (update.php) since the database is in a largely unknown state.
$userRepresentation of the current user. Stores preferences and other user information.
$xrds_current_serviceArray used by XRDS XML parser for OpenID to track parsing state.
$xrds_open_elementsArray used by XRDS XML parser for OpenID to track parsing state.
$xrds_servicesArray used by XRDS XML parser for OpenID to track parsing state.

Kommentare

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen

Kommentar hinzufügen

Der Inhalt dieses Feldes wird nicht öffentlich zugänglich angezeigt.
  • Internet- und E-Mail-Adressen werden automatisch umgewandelt.
  • Zulässige HTML-Tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Zeilen und Absätze werden automatisch erzeugt.

Weitere Informationen über Formatierungsoptionen