Drupal7 API 全局变量

来源:互联网 发布:经典马自达3轮毂数据 编辑:程序博客网 时间:2024/06/05 08:08
名字降序排列位置描述$base_pathdocumentation/developer/globals.phpThe base path of the Drupal installation.$base_rootdocumentation/developer/globals.phpThe root URL of the host, excluding the path.$base_theme_infodocumentation/developer/globals.phpAn array of objects that represent the base theme.$base_urldocumentation/developer/globals.phpThe base URL of the Drupal installation.$channeldocumentation/developer/globals.phpAn associative array containing title, link, description and other keys.$confdrupal/authorize.php $confdocumentation/developer/globals.phpArray of persistent variables stored in 'variable' table.$cookie_domaindocumentation/developer/globals.phpThe domain to be used for session cookies.$databasesdocumentation/developer/globals.phpArray of database connections.$drupal_test_infodrupal/modules/simpletest/drupal_web_test_case.phpGlobal variable that holds information about the tests being run.$elementdocumentation/developer/globals.phpStructured array describing the data to be rendered.$forum_topic_list_headerdocumentation/developer/globals.phpAn array of forum topic header information.$imagedocumentation/developer/globals.phpCurrent image tag used by aggregator parsing.$installed_profiledocumentation/developer/globals.phpThe name of the profile that has just been installed.$is_httpsdocumentation/developer/globals.phpBoolean indicating whether or not the current request is secured by HTTPS.$itemdocumentation/developer/globals.phpGeneral string or array.$itemsdocumentation/developer/globals.phpArray of items used by aggregator.$languagedocumentation/developer/globals.phpAn object containing the information for the active interface language.$language_contentdocumentation/developer/globals.phpAn object containing the information for the active content language.$language_urldocumentation/developer/globals.phpAn object containing the information for the active URL language.$menu_admindocumentation/developer/globals.phpBoolean indicating that a menu administrator is running a menu access check.$multibytedocumentation/developer/globals.phpThe current multibyte mode.$pager_limitsdocumentation/developer/globals.phpArray of the number of items per page for each pager.$pager_page_arraydocumentation/developer/globals.phpArray of current page numbers for each pager.$pager_totaldocumentation/developer/globals.phpArray of the total number of pages for each pager.$pager_total_itemsdocumentation/developer/globals.phpArray of the total number of items for each pager.$tagdocumentation/developer/globals.phpActive tag name.$themedocumentation/developer/globals.phpName of the active theme.$theme_enginedocumentation/developer/globals.phpThe theme engine related to the active theme.$theme_infodocumentation/developer/globals.phpActive theme object.$theme_keydocumentation/developer/globals.phpName of the active theme.$theme_pathdocumentation/developer/globals.phpThe path to the active theme.$timersdocumentation/developer/globals.phpTimers that have been created by timer_start().$update_free_accessdocumentation/developer/globals.phpAllows the update.php script to be run when not logged in as administrator.$userdocumentation/developer/globals.phpAn object representing the user currently visiting the site.
原创粉丝点击