Функции

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.
ИмяОписание
drupal_get_form
includes/form.inc
Запрашивает форму из функции создания формы, возвращает её для обработки, передаёт значения формы в то место, где они требуются. В сценариях, в которых используется многошаговая структура использования форм, это позволяет управлять правильностью передачи соответствующих данных с предыдущего шага работы сценария, делать необходимый следующий шаг для отображения результата.
drupal_get_headers
includes/common.inc
Get the HTTP response headers for the current page.
drupal_get_html_head
includes/common.inc
Retrieve output to be displayed in the head tag of the HTML page.
drupal_get_installed_schema_version
includes/install.inc
Returns the currently installed schema version for a module.
drupal_get_install_files
includes/install.inc
Get list of all .install files.
drupal_get_js
includes/common.inc
Returns a themed presentation of all JavaScript code for the current page. References to JavaScript files are placed in a certain order: first, all 'core' files, then all 'module' and finally all 'theme' JavaScript...
drupal_get_messages
includes/bootstrap.inc
Return all messages that have been set.
drupal_get_normal_path
includes/path.inc
Получает синоним пути, возвращает системный путь, для этого синонима.
drupal_get_path
includes/common.inc
Возвращает адрес системного элемента (модуль, тема и т.п.)
drupal_get_path_alias
includes/path.inc
Возвращает синоним, к внутреннему пути друпала.
drupal_get_private_key
includes/common.inc
Гарантирует, что переменная персонального ключа, которая используется для генерации токенов установлена.
drupal_get_schema_versions
includes/install.inc
Returns an array of available schema versions for a module.
drupal_get_title
includes/path.inc
Получает заголовок текущей страницы для показа на странице и панели заголовка.
drupal_get_token
includes/common.inc
Генерирует уникальное значение (токен), основанное на значении параметра $value, текущей сессии пользователя и приватного ключа сайта.
drupal_goto
includes/common.inc
Перенаправляет пользователя на другую страницу сайта на Друпале.
drupal_help
modules/drupal/drupal.module
Реализация hook_help().
drupal_http_request
includes/common.inc
Perform an HTTP request.
drupal_info
modules/drupal/drupal.module
Implementation of hook_info().
drupal_init_path
includes/path.inc
Initialize the $_GET['q'] variable to the proper normal path.
drupal_install
modules/drupal/drupal.install
Реализация hook_install().
drupal_install_fix_file
includes/install.inc
Attempt to fix file permissions.
drupal_install_mkdir
includes/install.inc
Создает директорию с указанными правами доступа.
drupal_install_modules
includes/install.inc
Вызывает функцию установки и обновляет таблицу system для указанного списка модулей.
drupal_install_profile
includes/install.inc
Install a profile (i.e. a set of modules) from scratch. The profile must be verified first using drupal_verify_profile().
drupal_install_profile_name
includes/install.inc
Loads the profile definition, extracting the profile's defined name.
drupal_is_denied
includes/bootstrap.inc
Perform an access check for a given mask and rule type. Rules are usually created via admin/user/rules page.
drupal_is_front_page
includes/path.inc
Проверяет, является ли текущая страница главной.
drupal_load
includes/bootstrap.inc
Includes a file with the provided type and name. This prevents including a theme, engine, module, etc., more than once.
drupal_load_updates
includes/install.inc
Initialize the update system by loading all installed module's .install files.
drupal_login
modules/drupal/drupal.module
Callback function from drupal_xmlrpc() for authenticating remote clients.
drupal_lookup_path
includes/path.inc
Для указанного синонима пути возвращается системный URL Drupal, если он существует. Для указанного системного URL Drupal возвращается синоним пути, если он существует. В остальных случаях возвращается FALSE.
drupal_mail
includes/common.inc
Send an e-mail message, using Drupal variables and default settings. More information in the PHP function reference for mail()
drupal_maintenance_theme
includes/bootstrap.inc
Enables use of the theme system without requiring database access. Since there is not database access no theme will be enabled and the default themeable functions will be called. Some themeable functions can not be used without the full Drupal API...
drupal_map_assoc
includes/common.inc
Формирует ассоциативный массив из линейного массива.
drupal_menu
modules/drupal/drupal.module
Реализация hook_menu().
drupal_notify
modules/drupal/drupal.module
Sends a ping to the Drupal directory server.
drupal_not_found
includes/common.inc
Генерирует ошибку 404 (страница не найдена) если запрос не удалось обработать.
drupal_page_cache_header
includes/bootstrap.inc
Set HTTP headers in preparation for a cached page response.
drupal_page_footer
includes/common.inc
Perform end-of-request tasks.
drupal_page_header
includes/bootstrap.inc
Set HTTP headers in preparation for a page response.
drupal_page_help
modules/drupal/drupal.module
Menu callback; print Drupal-authentication-specific information from user/help.
drupal_prepare_form
includes/form.inc
Подготавливает полный массив формы, добавляя в него недостающие значения по-умолчанию, вызывая нужные хуки, а также, опционально, выставляя токены валидации для некоторых полей, чтобы обезопасить форму от несанкционированных вмешательств.
drupal_process_form
includes/form.inc
This function is the heart of form API. The form gets built, validated and in appropriate cases, submitted.
drupal_query_string_encode
includes/common.inc
Parse an array into a valid urlencoded query string.
drupal_redirect_form
includes/form.inc
Перенаправляет пользователя на URL после обработки формы.
drupal_render
includes/common.inc
Формирует HTML-код из структурированного массива.
drupal_render_form
includes/form.inc
Renders a structured form array into themed HTML.
drupal_requirements_severity
includes/install.inc
Extract highest severity from requirements array.
drupal_retrieve_form
includes/form.inc
Возвращает структурированный массив, определяющий форму.
drupal_rewrite_settings
includes/install.inc
Read settings.php into a buffer line by line, changing values specified in $settings array, then over-writing the old settings.php file.

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