名称 | 位置 | 描述 |
| $active_db | developer/ globals.php | Active database connection. See alsodb_set_active() |
| $base_path | developer/ globals.php | The base path of the drupal installation. At least will default to /. See alsoconf_init() |
| $base_root | developer/ globals.php | The root URL of the host excludes the path. See alsoconf_init() |
| $base_theme_info | developer/ globals.php | An array of objects that reperesent the base theme. For documentation of the theme object see + u) @2 V9 d. J
function is useful to initialize a theme when no database is present." href="http://www.drupaluser.org/api/function/_init_theme/6" style="color: rgb(0, 113, 179); text-decoration: none; ">_init_theme(). See also_init_theme() |
| $base_url | developer/ globals.php | The base URL of the drupal installation. See alsoconf_init() |
| $channel | developer/ globals.php | An associative array containing title, link, description and other keys. The link should be an absolute URL. See alsoaggregator_element_start() |
| $conf | developer/ globals.php | The path to the configuration directory as set byconf_path(). |
| $cookie_domain | developer/ globals.php | The domain to be used form session cookies. |
| $custom_theme | developer/ globals.php | Name of custom theme to override default theme. See alsoinit_theme() |
| $db_prefix | developer/ globals.php | The prefix to be placed on all database tables. |
| $db_type | developer/ globals.php | The type of database being used. |
| $db_url | developer/ globals.php | The url of the database. Thorough documentation provided in default.settings.php. |
| $element | developer/ globals.php | Structured array describing the data to be rendered. See alsoaggregator_element_start() |
| $forum_topic_list_header | developer/ globals.php | An array of topic header information. |
| $id | developer/ globals.php | Active statistics record id. |
| $image | developer/ globals.php | Current image tag used by aggregator. |
| $installed_profile | developer/ globals.php | The name of the profile that has just been installed. |
| $install_locale | developer/ globals.php | The locale to use during installation See alsost() |
| $item | developer/ globals.php | General string or array. See alsoaggregator_element_start() |
| $items | developer/ globals.php | Array of items used by aggregator. See alsoaggregator_element_start() |
| $language | developer/ globals.php | An object containing the information for the active language. |
| $last_result | developer/ globals.php | Resource of the query executed. |
| $menu_admin | developer/ globals.php | Boolean indicating that a menu administrator is running the menu access check. |
| $multibyte | developer/ globals.php | The current multibyte mode. Possible values: UNICODE_ERROR, UNICODE_SINGLEBYTE, UNICODE_MULTIBYTE. |
| $nid | developer/ globals.php | Active blog node id. |
| $pager_page_array | developer/ globals.php | Result of pager_query() that is utilized by other functions. |
| $pager_total | 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 ofpager_query(). |
| $pager_total_items | 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 ofpager_query(). |
| $profile | developer/ globals.php | The name of the currently installed profile. |
| $queries | developer/ globals.php | Array of queries that have been executed. |
| $recent_activity | developer/ globals.php | Recent activity statistics generated bystatistics_exit(). |
| $tag | developer/ globals.php | Active tag name. See alsoaggregator_element_start() |
| $theme | developer/ globals.php | Name of the active theme. |
| $theme_engine | developer/ globals.php | The active theme engine related to the active theme. |
| $theme_info | developer/ globals.php | Active theme object. For documentation of the theme object see ' P$ @# |4 i! Q& H) ~6 b! B6 A
function is useful to initialize a theme when no database is present." href="http://www.drupaluser.org/api/function/_init_theme/6" style="color: rgb(0, 113, 179); text-decoration: none; ">_init_theme(). See also_init_theme() |
| $theme_key | developer/ globals.php | Name of the active theme. See alsoinit_theme() |
| $theme_path | developer/ globals.php | Path to the active theme. |
| $timers | developer/ globals.php | Stores timers that have been created by# O+ x5 n, I, @8 U6 {the same timer multiple times, the measured intervals will be<br />
% h, H7 K& |) u: N; c naccumulated." href="http://www.drupaluser.org/api/function/timer_start/6" style="color: rgb(0, 113, 179); text-decoration: none; ">timer_start(). See alsotimer_start() |
| $update_free_access | developer/ globals.php | Access control for update.php script. Allows theupdate.php script to be run when not logged in as and administrator. |
| $update_mode | developer/ globals.php | Disabled caling hook_boot() and hook_exit() during the update process (update.php) since the database is in a largely unknown state. See alsodrupal_goto() |
| $user | modules/ php/ php.module | |
| $user | developer/ globals.php | Representation of the current user. Stores preferences and other user information. |
| $xrds_current_service | developer/ globals.php | Array used by XRDS XML parser for OpenID to track parsing state. |
| $xrds_open_elements | developer/ globals.php | Array used by XRDS XML parser for OpenID to track parsing state. |
| $xrds_services | developer/ globals.php | Array used by XRDS XML parser for OpenID to track parsing state. |