Глобальные переменные
| Имя | Описание |
|---|---|
| $active_db ./globals.php | Активное соединение с базой данных. |
| $base_path ./globals.php | Возвращает базовый путь сайта (по-умолчанию, "/"). |
| $base_root ./globals.php | Корневой URL хоста, не включая путь. Смотри также conf_init() |
| $base_theme_info ./globals.php | Массив объектов представляющий базовую тему. Для справки об объекте темы смотри _init_theme(). |
| $base_url ./globals.php | Базовый URL инсталляции Drupal. Смотри также conf_init |
| $channel ./globals.php | Ассоциативный массив, содержащий название, ссылку, описание и другие ключи. Ссылка должна быть абсолютной. |
| $conf ./globals.php | Путь к каталогу содержащему файлы настроек, задается функцией conf_path(). |
| $cookie_domain ./globals.php | Домен, который будет использован для сеансовых cookies. |
| $custom_theme ./globals.php | Name of custom theme to override default theme. See alsoinit_theme |
| $db_prefix ./globals.php | Префикс, который добавляется ко всем таблицам базы данных. |
| $db_type ./globals.php | Тип используемой базы данных |
| $db_url ./globals.php | Адрес базы данных. Подробная документация, представлена в settings.php |
| $element ./globals.php | Structured array describing the data to be rendered. See alsoaggregator_element_start |
| $forum_topic_list_header ./globals.php | An array of topic header information. |
| $id ./globals.php | Active statistics record id. |
| $image ./globals.php | Current image tag used by aggregator. |
| $installed_profile ./globals.php | The name of the profile that has just been installed. |
| $install_locale ./globals.php | The locale to use durring installation See alsost |
| $item ./globals.php | General string or array. See alsoaggregator_element_start |
| $items ./globals.php | Array of items used by aggregator. See alsoaggregator_element_start |
| $language ./globals.php | Объект, содержащий информацию активного языка. |
| $last_result ./globals.php | Ресурс выполненного запроса. |
| $menu_admin ./globals.php | Boolean indicating that a menu administrator is running the menu access check. |
| $multibyte ./globals.php | The current multibyte mode. Possible values: UNICODE_ERROR, UNICODE_SINGLEBYTE, UNICODE_MULTIBYTE. |
| $nid ./globals.php | ID ноды активного блога |
| $pager_page_array ./globals.php | Result of pager_query() that is utilized by other functions. |
| $pager_total ./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 of pager_query(). |
| $pager_total_items ./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 of pager_query(). |
| $profile ./globals.php | Имя текущего инсталяционного профиля. |
| $queries ./globals.php | Массив запросов, которые были выполнены |
| $recent_activity ./globals.php | Recent activity statistics generated by statistics_exit(). |
| $tag ./globals.php | Название активного тэга. |
| $theme ./globals.php | Название активной темы |
| $theme_engine ./globals.php | Тип движка темы, связанный с активной темой. |
| $theme_info ./globals.php | Объект активной темы. Для справки об объекте темы смотрите _init_theme(). |
| $theme_key ./globals.php | Название активной темы. |
| $theme_path ./globals.php | Путь к активной теме. |
| $timers ./globals.php | Хранит таймеры, который были созданы функцией timer_start(). См. также timer_start |
| $update_free_access ./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 ./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 ./globals.php | Представление текущего пользователя. Хранит настройки и другую информацию пользователя. |
| $xrds_current_service ./globals.php | Array used by XRDS XML parser for OpenID to track parsing state. |
| $xrds_open_elements ./globals.php | Array used by XRDS XML parser for OpenID to track parsing state. |
| $xrds_services ./globals.php | Array used by XRDS XML parser for OpenID to track parsing state. |
