Функции
Имя | Описание |
---|---|
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_parse_info_file includes/common.inc | Parse Drupal info file format. |
drupal_prepare_form includes/form.inc | Подготавливает полный массив формы, добавляя в него недостающие значения по-умолчанию, вызывая нужные хуки, а также, опционально, выставляя токены валидации для некоторых полей, чтобы обезопасить форму от несанкционированных вмешательств. |
drupal_process_form includes/form.inc | Эта функция является основной в Forms API. Предназначена для построения формы и проверки формы на соответствие требованиям и обработки результатов. |
drupal_query_string_encode includes/common.inc | Parse an array into a valid urlencoded query string. |
drupal_rebuild_form includes/form.inc | Retrieves a form, caches it and processes it with an empty $_POST. |
drupal_rebuild_theme_registry includes/theme.inc | Заставляет систему перестроить регистр темизации; эта функция должна вызываться, когда в систему добавляются модули, или когда в динамическую систему необходимо добавить новые хуки темизации. |
drupal_redirect_form includes/form.inc | Перенаправляет пользователя на URL после обработки формы. |
drupal_render includes/common.inc | Формирует HTML-код из структурированного массива. |
drupal_render_form includes/form.inc | Генерирует темизированный HTML-код из структурированного массива формы. |
drupal_required_modules includes/module.inc | Массив модулей, необходимых для ядра. |
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. |
drupal_schema_fields_sql includes/common.inc | Извлекает список столбцов таблицы. Этот список может использоваться при составлении SQL-запросов. |
drupal_set_breadcrumb includes/common.inc | Устанавливает хлебные крошки для текущей страницы. |
drupal_set_content includes/common.inc | Добавляет содержание в определенный регион. |
drupal_set_header includes/common.inc | Установить ответный HTTP-заголовок для текущей страницы. |
drupal_set_html_head includes/common.inc | Добавляет содержимое в тэг head в HTML коде страницы. |
drupal_set_installed_schema_version includes/install.inc | Update the installed version information for a module. |
drupal_set_message includes/bootstrap.inc | Выводит сообщение пользователю. |
drupal_set_title includes/path.inc | Устанавливает заголовок для текущей страницы для отображения на странице и панели браузера. |
drupal_site_offline includes/common.inc | Generates a site off-line message. |
drupal_strlen includes/unicode.inc | Count the amount of characters in a UTF-8 string. This is less than or equal to the byte count. |
drupal_strtolower includes/unicode.inc | Преобразовывает UTF-8 строку в нижний регистр. |
drupal_strtoupper includes/unicode.inc | Преобразовывает UTF-8 строку в верхний регистр. |
drupal_substr includes/unicode.inc | Cut off a piece of a string based on character indices and counts. Follows the same behavior as PHP's own substr() function. |
drupal_system_listing includes/common.inc | Return an array of system file objects. |
drupal_test_mysql includes/install.mysql.inc | Проверяет, можем ли мы подключиться к MySQL. |
drupal_test_mysqli includes/install.mysqli.inc | Проверяет возможность подключения к MySQL. |
drupal_test_pgsql includes/install.pgsql.inc | Проверяет возможность соединения с PostgreSQL. |
drupal_to_js includes/common.inc | Преобразует переменную на PHP в её JavaScript'овый эквивалент. |
drupal_truncate_bytes includes/unicode.inc | Truncate a UTF-8-encoded string safely to a number of bytes. |
drupal_ucfirst includes/unicode.inc | Делает прописным первый символ строки UTF-8. |
drupal_uninstall_module includes/install.inc | Calls the uninstall function and updates the system table for a given module. |
drupal_uninstall_schema includes/common.inc | Удаляет все таблицы, которые модуль описывает в хуке hook_schema(). |
drupal_unpack includes/bootstrap.inc | Десериализация и объединение элементов из сериализированой строки. |
drupal_unset_globals includes/bootstrap.inc | Unsets all disallowed global variables. See $allowed for what's allowed. |
drupal_urlencode includes/common.inc | Wrapper around urlencode() which avoids Apache quirks. |
drupal_validate_form includes/form.inc | Проверяет отправленные пользователем данные формы из $form_state, используя функции проверки, заданные в структурированном массиве формы. |
drupal_validate_utf8 includes/bootstrap.inc | Проверяет является ли UTF-8 кодировкой строки. |
drupal_valid_http_host includes/bootstrap.inc | Проверяет корректность имени хоста (например, $_SERVER['HTTP_HOST']). |
drupal_valid_token includes/common.inc | Проверяет корректность соотношения уникального значения (токена) к ключу, основанному на параметре $value, сессии пользователя и приватного ключа сайта. |
drupal_verify_install_file includes/install.inc | Verify the state of the specified file. |
drupal_verify_profile includes/install.inc | Verify a profile for installation. |
drupal_wrap_mail includes/mail.inc | Perform format=flowed soft wrapping for mail (RFC 3676). |
drupal_write_record includes/common.inc | Сохраняет запись в базу данных согласно схеме. |
drupal_xml_parser_create includes/unicode.inc | Prepare a new XML parser. |
element_child includes/common.inc | Проверяет, является ли ключ структурированного массива атрибутом (начинается с '#') или дочерним элементом (все остальные ключи). |
- « первая
- ‹ предыдущая
- …
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- …
- следующая ›
- последняя »