Функции

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.
ИмяОписание
drupal_set_breadcrumb
includes/common.inc
Устанавливает хлебные крошки для текущей страницы.
drupal_set_content
includes/common.inc
Добавляет содержание в определенный регион.
drupal_set_header
includes/common.inc
Set an HTTP response header for the current page.
drupal_set_html_head
includes/common.inc
Add output to the head tag of the HTML page. This function can be called as long the headers aren't sent.
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_sites_registry_settings
modules/drupal/drupal.module
drupal_site_offline
includes/common.inc
Generates a site off-line message
drupal_strlen
includes/unicode.inc

Возвращает количество символов в строке имеющей кодировку UTF-8. Это кол-во обычно меньше или равно количеству байт.

drupal_strtolower
includes/unicode.inc
Преобразовывает UTF-8 строку в нижний регистр.
drupal_strtoupper
includes/unicode.inc
Преобразовывает UTF-8 строку в верхний регистр.
drupal_submit_form
includes/form.inc
Processes user-submitted form data from a global variable using the submit functions defined in a structured form array.
drupal_substr
includes/unicode.inc
Cut off a piece of a string based on character indices and counts. Follows the same behaviour as PHP's own substr() function.
drupal_system_listing
includes/common.inc
Returns an array of files objects of the given type from the site-wide directory (i.e. modules/), the all-sites directory (i.e. sites/all/modules/), the profiles directory, and site-specific directory (i.e. sites/somesite/modules/). The returned array...
drupal_test_mysql
includes/install.mysql.inc
Check if we can connect to MySQL.
drupal_test_mysqli
includes/install.mysqli.inc
Check if we can connect to MySQL.
drupal_test_pgsql
includes/install.pgsql.inc
Check if we can connect to PostgreSQL.
drupal_to_js
includes/common.inc
Converts a PHP variable into its Javascript equivalent.
drupal_ucfirst
includes/unicode.inc
Capitalize the first letter of a UTF-8 string.
drupal_uninstall
modules/drupal/drupal.install
Реализация hook_uninstall().
drupal_uninstall_module
includes/install.inc
Calls the uninstall function and updates the system table for a given module.
drupal_unpack
includes/bootstrap.inc
Unserializes and appends elements from a serialized string.
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
Validates user-submitted form data from a global variable using the validate functions defined in a structured form array.
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_xmlrpc
modules/drupal/drupal.module
Implementation of hook_xmlrpc().
drupal_xml_parser_create
includes/unicode.inc
Prepare a new XML parser.
element_child
includes/common.inc
Проверяет, является ли ключ структурированного массива атрибутом (начинается с '#') или дочерним элементом (все остальные ключи).
element_children
includes/common.inc
Возвращает ключи структурированного массива, которые не являются атрибутами (т.е. не начинаются на '#').
element_properties
includes/common.inc
Get properties of a structured array element. Properties begin with '#'.
element_property
includes/common.inc
Check if the key is a property.
error_handler
includes/common.inc
Log errors as defined by administrator Error levels: 0 = Log errors to database. 1 = Log errors to database and to screen.
example_element_demo
developer/examples/example_element.module
This is a simple form to demonstrate how to use the phonenumber form element we defined.
example_element_elements
developer/examples/example_element.module
Реализация hook_elements().
example_element_expand
developer/examples/example_element.module
Our process callback to expand the control.
example_element_menu
developer/examples/example_element.module
Реализация hook_menu().
example_element_validate
developer/examples/example_element.module
Our element's validation function.
example_form
./example.profile
Form API array definition for the example form.
example_form_alter
./example.profile
Implementation of hook_form_alter().
example_form_submit
./example.profile
Form API submit for the example form.
example_profile_details
./example.profile
Return a description of the profile for the initial installation screen.
example_profile_modules
./example.profile
Return an array of the modules to be enabled when this profile is installed.
example_profile_tasks
./example.profile
Perform any final installation tasks for this profile.
example_profile_task_list
./example.profile
Return a list of tasks that this profile supports.

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