Drupal API

variable_get

  • Drupal 5
  • Drupal 6
И в жару, и в слякоть,
И в дожди, и в солнце,
Помощи мы рады,
...Белый стих.
© Переводчики API

includes/bootstrap.inc, строка 499

Версии
5 – 6
variable_get($name, $default)

Возвращает постоянную переменную.

Параметры

$name Имя возвращаемой переменной.

$default Значение по умолчанию, которое используется если переменная никогда не была установлена.

Возвращаемое значение

Значение переменной.

▸ 296 функции вызывают variable_get()

▾ 296 функции вызывают variable_get()

actions_do in includes/actions.inc
Выполняет заданный список действий путем выполнения соответствующих коллбэков.
aggregator_admin_settings in modules/aggregator/aggregator.admin.inc
Конструктор формы; настройка агрегатора.
aggregator_categorize_items in modules/aggregator/aggregator.pages.inc
Form builder; build the page list form.
aggregator_filter_xss in modules/aggregator/aggregator.module
Безопасный рендер html
aggregator_page_categories in modules/aggregator/aggregator.pages.inc
Коллбэк меню; показывает все категории, используемые аггрегатором.
aggregator_page_category in modules/aggregator/aggregator.pages.inc
Menu callback; displays all the items aggregated in a particular category.
aggregator_page_last in modules/aggregator/aggregator.pages.inc
Menu callback; displays the most recent items gathered from any feed.
aggregator_page_rss in modules/aggregator/aggregator.pages.inc
Коллбэк меню. Генерирует фид из материалов аггергатора или категорий в формате RSS 0.92.
aggregator_page_sources in modules/aggregator/aggregator.pages.inc
Коллбэк меню; показывает все фиды, используемые аггрегатором.
aggregator_parse_feed in modules/aggregator/aggregator.module
Parse a feed and store its items.
block_admin_display in modules/block/block.admin.inc
Menu callback for admin/build/block.
block_admin_display_form in modules/block/block.admin.inc
Generate main blocks administration form.
block_example_block in developer/examples/block_example.module
Реализация hook_block().
block_example_contents in developer/examples/block_example.module
Функция определяющая содержимое блока.
block_menu in modules/block/block.module
Реализация hook_menu().
blogapi_admin_settings in modules/blogapi/blogapi.module
blogapi_blogger_new_post in modules/blogapi/blogapi.module
Коллбэк Blogging API. Вставляет новую запись блога как ноду.
blogapi_metaweblog_new_media_object in modules/blogapi/blogapi.module
Коллбэк Blogging API. Вставляет файл в Друпал.
blogapi_status_error_check in modules/blogapi/blogapi.module
Check that the user has permission to save the node with the chosen status.
blog_feed_last in modules/blog/blog.pages.inc
Menu callback; displays an RSS feed containing recent blog entries of all users.
blog_feed_user in modules/blog/blog.pages.inc
Menu callback; displays an RSS feed containing recent blog entries of a given user.
blog_page_last in modules/blog/blog.pages.inc
Коллбэк меню. Показывает страницу Друпал с последними записями в блогах пользователей.
blog_page_user in modules/blog/blog.pages.inc
Коллбэк меню. Показывает страницу Друпал с последними записями в блоге данного пользователя.
book_admin_settings in modules/book/book.admin.inc
Строит и возвращает форму настройки книги.
book_block in modules/book/book.module
Реализация hook_block().
book_link in modules/book/book.module
Реализация hook_link().
book_node_type in modules/book/book.module
Реализация hook_node_type().
book_type_is_allowed in modules/book/book.module
Determine if a given node type is in the list of types allowed for books.
chameleon_page in themes/chameleon/chameleon.theme
color_form_alter in modules/color/color.module
Реализация hook_form_alter().
color_get_palette in modules/color/color.module
Вспомогательная функция извлечения цветовой палитры для указанной темы.
color_scheme_form in modules/color/color.module
Конструктор формы. Возвращает форму конфигурирования.
color_scheme_form_submit in modules/color/color.module
Submit handler for color change form.
comment_form in modules/comment/comment.module
Создаёт базовую форму для комментирования, которая будет добавлена к странице с нодой или отображена на отдельной странице.
comment_form_add_preview in modules/comment/comment.module
Конструктор формы; Формирует и проверяет форму предпросмотра комментария.
comment_form_alter in modules/comment/comment.module
Реализация hook_form_alter().
comment_link in modules/comment/comment.module
Реализация hook_link().
comment_nodeapi in modules/comment/comment.module
Реализация hook_nodeapi().
comment_render in modules/comment/comment.module
Отображает комментарии.
comment_update_1 in modules/comment/comment.install
Changed node_comment_statistics to use node->changed to avoid future timestamps.
comment_update_6002 in modules/comment/comment.install
Changed comment settings from global to per-node -- copy global settings to all node types.
comment_validate in modules/comment/comment.module
Проверка данных комментария.
contact_admin_settings in modules/contact/contact.admin.inc
contact_mail in modules/contact/contact.module
Реализация hook_mail().
contact_mail_page in modules/contact/contact.pages.inc
contact_site_page in modules/contact/contact.pages.inc
Site-wide contact page.
contact_user in modules/contact/contact.module
Реализация hook_user().
contact_user_page in modules/contact/contact.pages.inc
Страница персональных контактов.
dblog_admin_settings in modules/dblog/dblog.admin.inc
Форма настроек модуля dblog. Смотрите также system_settings_form()
dblog_cron in modules/dblog/dblog.module
Реализация hook_cron().
default_profile_tasks in profiles/default/default.profile
Perform any final installation tasks for this profile.
do_search in modules/search/search.module
Do a query on the full-text search index for a word or words.
drupal_access_denied in includes/common.inc
Генерирует ошибку 403 если для просмотра страницы недостаточно прав.
drupal_cron_cleanup in includes/common.inc
Shutdown function for cron cleanup.
drupal_cron_run in includes/common.inc
При вызове выполняет задачи cron
drupal_error_handler in includes/common.inc
Журналирует ошибки, так, как это указанно администратором.
drupal_get_css in includes/common.inc
Returns a themed representation of all stylesheets that should be attached to the page.
drupal_get_js in includes/common.inc
Returns a themed presentation of all JavaScript code for the current page.
drupal_get_private_key in includes/common.inc
Гарантирует, что переменная персонального ключа, которая используется для генерации токенов установлена.
drupal_init_language in includes/bootstrap.inc
Определяет язык для текущей страницы, в зависимости от настроек сайта и настроек текущего пользователя.
drupal_init_path in includes/path.inc
Initialize the $_GET['q'] variable to the proper normal path.
drupal_is_front_page in includes/path.inc
Проверяет, является ли текущая страница главной.
drupal_mail in includes/mail.inc
Отправляет сообщения по e-mail.
drupal_mail_send in includes/mail.inc
Отправляет электронное письмо, используя переменные Drupal и настройки по умолчанию. Более подробная информация в описании PHP функции mail(). Для информации по составлению $message смотрите drupal_mail().
drupal_match_path in includes/path.inc
Проверяет, совпадает ли заданный путь с какой-либо маской пути из набора масок.
drupal_not_found in includes/common.inc
Генерирует ошибку 404 (страница не найдена) если запрос не удалось обработать.
drupal_page_cache_header in includes/bootstrap.inc
Set HTTP headers in preparation for a cached page response.
drupal_page_footer in includes/common.inc
Perform end-of-request tasks.
drupal_process_form in includes/form.inc
Эта функция является основной в Forms API. Предназначена для построения формы и проверки формы на соответствие требованиям и обработки результатов.
drupal_site_offline in includes/common.inc
Generates a site off-line message.
drupal_system_listing in includes/common.inc
Return an array of system file objects.
drupal_urlencode in includes/common.inc
Wrapper around urlencode() which avoids Apache quirks.
drupal_valid_token in includes/common.inc
Проверяет корректность соотношения уникального значения (токена) к ключу, основанному на параметре $value, сессии пользователя и приватного ключа сайта.
example_element_demo_form in developer/examples/example_element.module
This is a simple form to demonstrate how to use the phonenumber element we've defined.
example_profile_tasks in ./example.profile
Perform any final installation tasks for this profile.
expand_date in includes/form.inc
Roll out a single date element.
file_create_url in includes/file.inc
Формирует путь для скачивания файла.
file_directory_path in includes/file.inc
Определяет адрес по умолчанию для папки 'files' (папка хранения файлов, загруженных пользователями и т.п.)
file_directory_temp in includes/file.inc
Определеляет папку по умолчанию для хранения временных файлов.
file_get_mimetype in includes/file.inc
Determine an Internet Media Type, or MIME type from a filename.
file_munge_filename in includes/file.inc
Munge the filename as needed for security purposes. For instance the file name 'exploit.php.pps' would become 'exploit.php_.pps'.
file_save_upload in includes/file.inc
Сохраняет загруженный файл в новое место. Исходный файл должен быть загружен и обработан.
filter_access in modules/filter/filter.module
Возвращает TRUE, если пользователю разрешено использовать данный формат.
filter_admin_delete in modules/filter/filter.admin.inc
Menu callback; confirm deletion of a format. See alsofilter_admin_delete_submit()
filter_admin_delete_submit in modules/filter/filter.admin.inc
Process filter delete form submission.
filter_admin_format_form in modules/filter/filter.admin.inc
Generate a filter format form. See alsofilter_admin_format_form_validate()
filter_admin_overview in modules/filter/filter.admin.inc
Menu callback; Displays a list of all input formats and which one is the default. See alsofilter_admin_overview_submit()
filter_example_filter in developer/examples/filter_example.module
Реализация hook_filter().
filter_example_filter_tips in developer/examples/filter_example.module
Реализация hook_filter_tips().
filter_filter_tips in modules/filter/filter.module
Реализация hook_filter_tips().
filter_form in modules/filter/filter.module
Generate a selector for choosing a format in a form. See alsofilter_form_validate()
filter_formats in modules/filter/filter.module
Извлекает список форматов ввода.
filter_list_format in modules/filter/filter.module
Возвращает список форматов ввода для выбранного формата.
filter_resolve_format in modules/filter/filter.module
Resolve a format id, including the default format.
filter_xss_bad_protocol in modules/filter/filter.module
Обрабатывает значение HTML-аттрибута и проверяет, чтобы он не содержал URL с запрещённым протоколом (например, javascript:)
format_date in includes/common.inc
Форматирует дату в заданном формате или в формате настроек сайта.
forum_admin_settings in modules/forum/forum.admin.inc
Конструктор формы для страницы настроек форума. Смотрите также system_settings_form()
forum_block in modules/forum/forum.module
Реализация hook_block().
forum_enable in modules/forum/forum.install
forum_form in modules/forum/forum.module
Реализация hook_form().
forum_form_alter in modules/forum/forum.module
Implementation of hook_form_alter().
forum_form_container in modules/forum/forum.admin.inc
Returns a form for adding a container to the forum vocabulary
forum_form_forum in modules/forum/forum.admin.inc
Returns a form for adding a forum to the forum vocabulary
forum_form_submit in modules/forum/forum.admin.inc
Process forum form and container form submissions.
forum_get_forums in modules/forum/forum.module
Returns a list of all forums for a given taxonomy id
forum_help in modules/forum/forum.module
Реализация hook_help().
forum_nodeapi in modules/forum/forum.module
Implementation of hook_nodeapi().
forum_overview in modules/forum/forum.admin.inc
Returns an overview list of existing forums and containers
forum_page in modules/forum/forum.pages.inc
Menu callback; prints a forum listing.
forum_taxonomy in modules/forum/forum.module
Implementation of hook_taxonomy().
forum_term_load in modules/forum/forum.module
Загружает термин форума из таксономии.
forum_uninstall in modules/forum/forum.install
Реализация hook_uninstall().
forum_update_6000 in modules/forum/forum.install
Create the forum vocabulary if does not exist. Assign the vocabulary a low weight so it will appear first in forum topic create and edit forms. Do not just call forum_enable() because in future versions it might do something different.
hook_block in developer/hooks/core.php
Определяет блок или набор блоков.
hook_footer in developer/hooks/core.php
Вставляет закрывающий HTML.
hook_form_alter in developer/hooks/core.php
Позволяет вносить изменения в форму перед её показом.
hook_link in developer/hooks/core.php
Определяет внутренние ссылки Drupal.
hook_mail in developer/hooks/core.php
Подготавливает письмо, основанное на параметрах. Для подробностей см. также drupal_mail().
hook_mail_alter in developer/hooks/core.php
Изменяет любой аспект email отсылаемых Друпал. Вы можете использовать этот хук, чтобы добавить общий нижний колонтитул сайта для всех исходящих писем; добавить дополнительное поле заголовка и/или изменить отправляемые письма любым образом. HTML-изация исходящих писем - одна из возможностей.
hook_node_type in developer/hooks/node.php
Позволяет модулям осуществлять действия при изменении типа нод.
hook_requirements in developer/hooks/install.php
Проверяет требования для установки и выдает сообщение о статусе.
hook_search in developer/hooks/core.php
Определяет пользовательскую функцию поиска.
hook_taxonomy in developer/hooks/core.php
Выполняется при изменениях таксономии.
hook_update_index in developer/hooks/core.php
Обновляет полнотекстовый индекс Друпала для данного модуля.
hook_update_status_alter in developer/hooks/core.php
Изменяет информацию о доступных для проектов обновлениях.
hook_watchdog in developer/hooks/core.php
Записывает в журнал сообщения о событиях.
image_gd_close in includes/image.gd.inc
GD helper to write an image resource to a destination file.
image_gd_settings in includes/image.gd.inc
Retrieve settings for the GD2 toolkit.
image_get_toolkit in includes/image.inc
Retrieve the name of the currently used toolkit.
init_theme in includes/theme.inc
Инициализирует систему темизации и загружает тему.
install_tasks in ./install.php
Tasks performed after the database is initialized.
ip_address in includes/bootstrap.inc
Если друпал расположен за инвертированным прокси-сервером, мы используем заголовок X-Forwarded-For вместо $_SERVER['REMOTE_ADDR'], который может быть адресом прокси-сервера, а не клиента.
language_default in includes/bootstrap.inc
Возвращает язык, используемый на сайте по умолчанию.
language_initialize in includes/language.inc
Определяет язык для текущей страницы, в зависимости от языковых настроек сайта.
language_list in includes/bootstrap.inc
Формирует список установленных языков, индексированных по указанному ключу
language_url_rewrite in includes/language.inc
Переопределяет URL с учетом языкового префикса. Параметры такие же как для функции url().
locale in modules/locale/locale.module
Provides interface translation services.
locale_add_language in includes/locale.inc
API добавления языка.
locale_block in modules/locale/locale.module
Реализация hook_block(). Отображает переключатель языков. Ссылки могут быть предоставлены другими модулями.
locale_form_alter in modules/locale/locale.module
Implementation of hook_form_alter(). Adds language fields to forms.
locale_languages_configure_form in includes/locale.inc
Setting for language negotiation options
locale_update_6005 in modules/locale/locale.install
Change language setting variable of content types.
locale_update_js_files in modules/locale/locale.module
Update JavaScript translation file, if required, and add it to the page.
locale_user in modules/locale/locale.module
Реализация hook_user().
menu_configure in modules/menu/menu.admin.inc
Menu callback; Build the form presenting menu configuration options.
menu_execute_active_handler in includes/menu.inc
Выполняет функцию, которая ассоциируется с текущим путём.
menu_get_ancestors in includes/menu.inc
Returns the ancestors (and relevant placeholders) for any given path.
menu_nodeapi in modules/menu/menu.module
Реализация hook_nodeapi().
menu_parent_options in modules/menu/menu.module
Return a list of menu items that are valid possible parents for the given menu item.
menu_primary_links in includes/menu.inc
Возвращает массив ссылок для отображения меню «Основные ссылки».
menu_secondary_links in includes/menu.inc
Возвращает массив ссылок, которые должны отображаться как Дополнительные ссылки.
menu_tree_page_data in includes/menu.inc
Get the data structure representing a named menu tree, based on the current page.
module_list in includes/module.inc
Генерирует список всех загруженных модулей. В ходе инициализации (бутстрапа), возвращает только жизненно важные модули. Смотри bootstrap.inc
multipage_form_example_load in developer/examples/multipage_form_example.module
Implementation of hook_load().
nodeapi_example_form_alter in developer/examples/nodeapi_example.module
Реализация hook_form_alter().
nodeapi_example_nodeapi in developer/examples/nodeapi_example.module
Реализация hook_nodeapi().
node_access_needs_rebuild in modules/node/node.module
Устанавливает/снимает флаг перестройки права доступа ноды или возвращает текущее значение флага.
node_configure in modules/node/node.admin.inc
Menu callback; presents general node configuration options.
node_feed in modules/node/node.module
A generic function for generating RSS feeds from a set of nodes.
node_form in modules/node/node.pages.inc
Генерирует нод, добавляет/редактирует массив формы.
node_object_prepare in modules/node/node.pages.inc
node_page_default in modules/node/node.module
Menu callback; Generate a listing of promoted nodes.
node_search in modules/node/node.module
Реализация hook_search().
node_teaser in modules/node/node.module
Создаёт анонс для тела ноды.
node_type_form in modules/node/content_types.inc
Generates the node type editing form.
node_update_index in modules/node/node.module
Реализация hook_update_index().
openid_authentication in modules/openid/openid.module
Authenticate a user or attempt registration.
openid_form_alter in modules/openid/openid.module
Implementation of hook_form_alter : adds OpenID login to the login forms.
openid_user in modules/openid/openid.module
Реализация hook_user().
page_set_cache in includes/common.inc
Store the current page in the cache.
path_admin_form in modules/path/path.admin.inc
Return a form for editing or creating an individual URL alias. See alsopath_admin_form_validate()
ping_cron in modules/ping/ping.module
Реализация hook_cron().
profile_block in modules/profile/profile.module
Реализация hook_block().
profile_view_field in modules/profile/profile.module
search_admin_settings in modules/search/search.admin.inc
Menu callback; displays the search module settings page. See alsosystem_settings_form()
search_admin_settings_validate in modules/search/search.admin.inc
Validate callback.
search_expand_cjk in modules/search/search.module
Basic CJK tokenizer. Simply splits a string into consecutive, overlapping sequences of characters ('minimum_word_size' long).
search_index in modules/search/search.module
Обновляет полнотекстовый поисковый индекс для указанного элемента.
search_simplify in modules/search/search.module
Simplifies a string according to indexing rules.
sess_write in includes/session.inc
statistics_access_logging_settings in modules/statistics/statistics.admin.inc
Form builder; Configure access logging. See alsosystem_settings_form()
statistics_block in modules/statistics/statistics.module
Реализация hook_block().
statistics_cron in modules/statistics/statistics.module
Реализация hook_cron().
statistics_exit in modules/statistics/statistics.module
Implementation of hook_exit().
statistics_top_pages in modules/statistics/statistics.admin.inc
Menu callback; presents the 'top pages' page.
statistics_top_referrers in modules/statistics/statistics.admin.inc
Menu callback; presents the 'referrer' page.
statistics_top_visitors in modules/statistics/statistics.admin.inc
Menu callback; presents the 'top visitors' page.
syslog_admin_settings in modules/syslog/syslog.module
syslog_watchdog in modules/syslog/syslog.module
system_admin_compact_mode in modules/system/system.module
Determine if a user is in compact mode.
system_admin_theme_settings in modules/system/system.admin.inc
Form builder; This function allows selection of the theme to show in administration sections. See alsosystem_settings_form()
system_admin_theme_submit in modules/system/system.module
Process admin theme form submissions.
system_block in modules/system/system.module
Реализация hook_block().
system_clean_url_settings in modules/system/system.admin.inc
Form builder; Configure Clean URL settings. See alsosystem_settings_form()
system_date_time_settings in modules/system/system.admin.inc
Form builder; Configure the site date and time settings. See alsosystem_settings_form()
system_error_reporting_settings in modules/system/system.admin.inc
Form builder; Configure error reporting settings. See alsosystem_settings_form()
system_file_system_settings in modules/system/system.admin.inc
Form builder; Configure the site file handling. See alsosystem_settings_form()
system_image_toolkit_settings in modules/system/system.admin.inc
Form builder; Configure site image toolkit usage. See alsosystem_settings_form()
system_init in modules/system/system.module
Реализация hook_init().
system_initialize_theme_blocks in modules/system/system.module
Assign an initial, default set of blocks for a theme.
system_mail in modules/system/system.module
Implementation of hook_mail().
system_message_action in modules/system/system.module
A configurable Drupal action. Sends a message to the current user's screen.
system_node_type in modules/system/system.module
Implementation of hook_node_type().
system_performance_settings in modules/system/system.admin.inc
Form builder; Configure site performance settings. See alsosystem_settings_form()
system_requirements in modules/system/system.install
Test and report Drupal installation requirements.
system_rss_feeds_settings in modules/system/system.admin.inc
Form builder; Configure how the site handles RSS feeds. See alsosystem_settings_form()
system_site_information_settings in modules/system/system.admin.inc
Form builder; The general site information form. See alsosystem_settings_form()
system_site_maintenance_settings in modules/system/system.admin.inc
Form builder; Configure the site's maintenance status. See alsosystem_settings_form()
system_themes_form in modules/system/system.admin.inc
Menu callback; displays a listing of all themes. See alsosystem_themes_form_submit()
system_themes_form_submit in modules/system/system.admin.inc
Process system_themes_form form submissions.
system_theme_select_form in modules/system/system.module
Returns a fieldset containing the theme select form.
system_theme_settings in modules/system/system.admin.inc
Form builder; display theme configuration for entire site and individual themes.
system_update_6017 in modules/system/system.install
Rename settings related to user.module email notifications.
system_update_6021 in modules/system/system.install
Migrate the menu items from the old menu system to the new menu_links table.
system_update_6041 in modules/system/system.install
Change forum vocabulary not to be required by default and set the weight of the forum.module 1 higher than the taxonomy.module.
system_update_6042 in modules/system/system.install
Upgrade recolored theme stylesheets to new array structure.
system_update_6044 in modules/system/system.install
RC1 to RC2 index cleanup.
system_update_6046 in modules/system/system.install
Ensure that the file_directory_path variable is set (using the old 5.x default, if necessary), so that the changed 6.x default won't break existing sites.
system_update_6051 in modules/system/system.install
Create a signature_format column.
system_user in modules/system/system.module
Реализация hook_user().
t in includes/common.inc
Переводит строку на заданный язык или язык страницы.
taxonomy_form_alter in modules/taxonomy/taxonomy.module
Implementation of hook_form_alter(). Generate a form for selecting terms to associate with a node. We check for taxonomy_override_selector before loading the full vocabulary, so contrib modules can intercept before hook_form_alter and provide scalable...
taxonomy_form_term in modules/taxonomy/taxonomy.admin.inc
Функция формы для редактирования термина. См. также taxonomy_form_term_submit()
taxonomy_overview_terms in modules/taxonomy/taxonomy.admin.inc
Form builder for the taxonomy terms overview.
taxonomy_render_nodes in modules/taxonomy/taxonomy.module
Принимает результат вызова pager_query(), такой как, например, возвращает taxonomy_select_nodes(), и форматирует каждую ноду вместе с листалкой страниц.
taxonomy_select_nodes in modules/taxonomy/taxonomy.module
Находит все ноды, которые соответствуют выбранным условиям таксономии.
taxonomy_term_page in modules/taxonomy/taxonomy.pages.inc
Коллбэк меню; отображает все ноды, связанные с термином таксономии.
template_preprocess_aggregator_item in modules/aggregator/aggregator.pages.inc
Process variables for aggregator-item.tpl.php. See alsoaggregator-item.tpl.php
template_preprocess_comment_wrapper in modules/comment/comment.module
Process variables for comment-wrapper.tpl.php. See alsocomment-wrapper.tpl.php
template_preprocess_forums in modules/forum/forum.module
Process variables for forums.tpl.php
template_preprocess_forum_icon in modules/forum/forum.module
Process variables to format the icon for each individual topic.
template_preprocess_forum_topic_navigation in modules/forum/forum.module
Preprocess variables to format the next/previous forum topic navigation links.
template_preprocess_maintenance_page in includes/theme.maintenance.inc
The variables generated here is a mirror of template_preprocess_page(). This preprocessor will run it's course when theme_maintenance_page() is invoked. It is also used in theme_install_page() and theme_update_page() to keep all the variables...
template_preprocess_page in includes/theme.inc
Обрабатывает переменные для page.tpl.php
template_preprocess_user_picture in modules/user/user.module
Process variables for user-picture.tpl.php.
theme_aggregator_page_opml in modules/aggregator/aggregator.pages.inc
Темизирует вывод новостной ленты в формате OPML.
theme_aggregator_page_rss in modules/aggregator/aggregator.pages.inc
Темизирует вывод RSS.
theme_comment_post_forbidden in modules/comment/comment.module
Темизирует уведомление "вы не можете оставить комментарий".
theme_get_setting in includes/theme.inc
Получает значение указанной настройки темы.
theme_get_settings in includes/theme.inc
Retrieve an associative array containing the settings for a theme.
theme_update_report in modules/update/update.report.inc
Темизирует сообщение о состоянии модуля или темы.
theme_username in includes/theme.inc
Форматирует имя пользователя.
throttle_admin_settings in modules/throttle/throttle.admin.inc
Form builder; Configure the throttle system. See alsosystem_settings_form()
throttle_exit in modules/throttle/throttle.module
Implementation of hook_exit().
throttle_status in modules/throttle/throttle.module
Determine the current load on the site.
translation_supported_type in modules/translation/translation.module
Returns whether the given content type has support for translations.
update_cron in modules/update/update.module
Реализация hook_cron().
update_fix_d6_requirements in ./update.php
Perform Drupal 5.x to 6.x updates that are required for update.php to function properly.
update_get_available in modules/update/update.module
Internal helper to try to get the update information from the cache if possible, and to refresh the cache when necessary.
update_mail in modules/update/update.module
Implementation of hook_mail().
update_settings in modules/update/update.settings.inc
Form builder for the update settings tab.
upload_admin_settings in modules/upload/upload.admin.inc
Menu callback for the upload settings form.
upload_form_alter in modules/upload/upload.module
upload_nodeapi in modules/upload/upload.module
Implementation of hook_nodeapi().
upload_node_form_submit in modules/upload/upload.module
Save new uploads and store them in the session to be associated to the node on upload_save.
url in includes/common.inc
Генерирует URL из указанного пути меню. Также поддерживает уже существующие URL.
user_admin_settings in modules/user/user.admin.inc
Form builder; Configure user settings for this site. See alsosystem_settings_form()
user_block in modules/user/user.module
Реализация hook_block().
user_comment in modules/user/user.module
Реализация hook_comment().
user_edit_form in modules/user/user.module
user_file_download in modules/user/user.module
Implementation of hook_file_download().
user_login in modules/user/user.module
Конструктор формы; генерирует форму для входа на сайт.
user_login_block in modules/user/user.module
user_mail_tokens in modules/user/user.module
Return an array of token to value mappings for user e-mail messages.
user_register in modules/user/user.module
Конструктор формы; Форма регистрации пользователя.
user_register_access in modules/user/user.module
user_register_submit in modules/user/user.module
Обработчик формы регистрации пользователя.
user_validate_picture in modules/user/user.module
_block_get_cache_id in modules/block/block.module
Assemble the cache_id to use for a given block.
_block_themes_access in modules/block/block.module
Menu item access callback - only admin or enabled themes can be accessed
_blogapi_get_node_types in modules/blogapi/blogapi.module
_book_parent_select in modules/book/book.module
Build the parent selection form element for the node form or outline tab
_color_page_alter in modules/color/color.module
Callback for the theme to alter the resources used.
_comment_get_display_setting in modules/comment/comment.module
Return a current comment display setting
_db_query in includes/database.mysql.inc
Вспомогательная функция для db_query().
_drupal_bootstrap in includes/bootstrap.inc
_drupal_flush_css_js in includes/common.inc
Helper function to change query-strings on css/js files.
_drupal_maintenance_theme in includes/theme.maintenance.inc
Sets up the theming system for site installs, updates and when the site is in off-line mode. It also applies when the database is unavailable.
_filter_html in modules/filter/filter.module
HTML filter. Provides filtering of input into accepted HTML.
_filter_html_settings in modules/filter/filter.module
Settings for the HTML filter.
_filter_url in modules/filter/filter.module
URL filter. Automatically converts text web addresses (URLs, e-mail addresses, ftp links, etc.) into hyperlinks.
_filter_url_settings in modules/filter/filter.module
Settings for URL filter.
_forum_parent_select in modules/forum/forum.admin.inc
Returns a select box for available parent terms
_locale_export_po_generate in includes/locale.inc
Generates the PO(T) file contents for given strings.
_locale_invalidate_js in includes/locale.inc
Провоцирует Javascript-файлы переводов на обновление.
_locale_rebuild_js in includes/locale.inc
Создает(заменяет) JavaScript-файл перевода для указанного языка.
_menu_site_is_offline in includes/menu.inc
Проверяет, находится ли сайт в автономном режиме "на обслуживании".
_search_parse_query in modules/search/search.module
Helper function for search_parse_query();
_system_themes_access in modules/system/system.module
Menu item access callback - only admin or enabled themes can be accessed.
_system_zonelist in modules/system/system.module
Generate an array of time zones and their local time&date.
_update_cron_notify in modules/update/update.fetch.inc
Perform any notifications that should be done once cron fetches new data.
_update_get_fetch_url_base in modules/update/update.fetch.inc
Return the base of the URL to fetch available update data for a project.
_update_refresh in modules/update/update.fetch.inc
Fetch project info via XML from a central server.
_upload_file_limits in modules/upload/upload.module
Determine the limitations on files that a given user may upload. The user may be in multiple roles so we select the most permissive limitations from all of their roles.
_user_mail_notify in modules/user/user.module
Создает и посылает электронное письмо с уведомлением, когда с данной учетной записью производятся определенные операции. See alsouser_mail_tokens()
_user_mail_text in modules/user/user.module
Returns a mail string for a variable name.

Код

<?php
function variable_get($name, $default) {
  global $conf;
  return isset($conf[$name]) ? $conf[$name] : $default;
}
?>
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

Вход в систему

Что такое OpenID?
  • Регистрация
  • Забыли пароль?

Документация

  • Drupal 6
  • Константы
  • Файлы
  • Функции
  • Глобальные переменные
  • Разделы