名字 | 位置 | 描述 |
---|---|---|
$base_path | documentation/developer/globals.php | The base path of the Drupal installation. |
$base_root | documentation/developer/globals.php | The root URL of the host, excluding the path. |
$base_theme_info | documentation/developer/globals.php | An array of objects that represent the base theme. |
$base_url | documentation/developer/globals.php | The base URL of the Drupal installation. |
$channel | documentation/developer/globals.php | An associative array containing title, link, description and other keys. |
$conf | drupal/authorize.php | |
$conf | documentation/developer/globals.php | Array of persistent variables stored in 'variable' table. |
$cookie_domain | documentation/developer/globals.php | The domain to be used for session cookies. |
$databases | documentation/developer/globals.php | Array of database connections. |
$drupal_test_info | drupal/modules/simpletest/drupal_web_test_case.php | Global variable that holds information about the tests being run. |
$element | documentation/developer/globals.php | Structured array describing the data to be rendered. |
$forum_topic_list_header | documentation/developer/globals.php | An array of forum topic header information. |
$image | documentation/developer/globals.php | Current image tag used by aggregator parsing. |
$installed_profile | documentation/developer/globals.php | The name of the profile that has just been installed. |
$is_https | documentation/developer/globals.php | Boolean indicating whether or not the current request is secured by HTTPS. |
$item | documentation/developer/globals.php | General string or array. |
$items | documentation/developer/globals.php | Array of items used by aggregator. |
$language | documentation/developer/globals.php | An object containing the information for the active interface language. |
$language_content | documentation/developer/globals.php | An object containing the information for the active content language. |
$language_url | documentation/developer/globals.php | An object containing the information for the active URL language. |
$menu_admin | documentation/developer/globals.php | Boolean indicating that a menu administrator is running a menu access check. |
$multibyte | documentation/developer/globals.php | The current multibyte mode. |
$pager_limits | documentation/developer/globals.php | Array of the number of items per page for each pager. |
$pager_page_array | documentation/developer/globals.php | Array of current page numbers for each pager. |
$pager_total | documentation/developer/globals.php | Array of the total number of pages for each pager. |
$pager_total_items | documentation/developer/globals.php | Array of the total number of items for each pager. |
$tag | documentation/developer/globals.php | Active tag name. |
$theme | documentation/developer/globals.php | Name of the active theme. |
$theme_engine | documentation/developer/globals.php | The theme engine related to the active theme. |
$theme_info | documentation/developer/globals.php | Active theme object. |
$theme_key | documentation/developer/globals.php | Name of the active theme. |
$theme_path | documentation/developer/globals.php | The path to the active theme. |
$timers | documentation/developer/globals.php | Timers that have been created by timer_start(). |
$update_free_access | documentation/developer/globals.php | Allows the update.php script to be run when not logged in as administrator. |
$user | documentation/developer/globals.php | An object representing the user currently visiting the site. |
Drupal7 API 全局变量
猜你喜欢
转载自blog.csdn.net/taian1665/article/details/77461573
今日推荐
周排行