欢迎各位兄弟 发布技术文章
这里的技术是共享的
Name | Location | Description |
---|---|---|
$active_db | developer/globals.php | 激活的数据库链接。 原文:Active database connection. |
$base_path | developer/globals.php | Drupal安装的基本路径。最简路径为“/”。 原文:The base path of the drupal installation. At least will default to /. |
$base_root | developer/globals.php | 排除了路径的主机根URL。 原文:The root URL of the host excludes the path. |
$base_theme_info | developer/globals.php | 原文:An array of objects that reperesent the base theme. For documentation of the theme object see _init_theme(). |
$base_url | developer/globals.php | Drupal安装的基本URL。 原文:The base URL of the drupal installation. |
$channel | developer/globals.php | 原文:An associative array containing title, link, description and other keys. The link should be an absolute URL. |
$conf | developer/globals.php | 原文:Array of persistent variables stored in 'variable' table. |
$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. |
$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 | 数据库url。default.settings.php提供了详尽的文档。 原文:The url of the database. Thorough documentation provided indefault.settings.php. |
$element | developer/globals.php | 原文:Structured array describing the data to be rendered. |
$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 |
$item | developer/globals.php | 原文:General string or array. |
$items | developer/globals.php | 原文:Array of items used by aggregator. |
$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. |
$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 _init_theme(). |
$theme_key | developer/globals.php | 激活的主题名称。 原文:Name of the active theme. |
$theme_path | developer/globals.php | 激活的主题之路径。 原文:Path to the active theme. |
$timers | developer/globals.php | 原文:Stores timers that have been created bytimer_start(). |
$update_free_access | developer/globals.php | 原文:Access control for update.php script. Allows the update.php script to be run when not logged in as and administrator. |
$update_mode | developer/globals.php | 原文:Disabled caling hook_boot() andhook_exit() during the update process (update.php) since the database is in a largely unknown state. |
$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. |
这些变量,自己没有用过,从来没有修改过代码的
这些变量,自己没有用过,从来没有修改过代码的
来自 http://xdrupal.org/Drupal-6.x-global-variables-chinese-description