Функции

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.
ИмяОписание
db_query_temporary
includes/database.mysql.inc
Выполняет SELECT-запрос к активной базе данных и сохраняет результат во временной таблице.
db_rename_table
includes/database.mysql-common.inc
Переименовывает таблицу БД.
db_result
includes/database.mysql.inc
Возвращает одиночное поле результата из предыдущего запроса.
db_rewrite_sql
includes/database.inc
Изменяет первоначальные запросы нодов, таксономии и комментариев. Часто используется для формирования списков.
db_set_active
includes/database.inc
Активирует базу данных для последующих запросов.
db_status_report
includes/database.mysql.inc
Возвращает отчёт о состоянии базы данных.
db_table_exists
includes/database.mysql.inc
Проверяет, существует ли таблица.
db_type_map
includes/database.mysql-common.inc
This maps a generic data type in combination with its data size to the engine-specific data type.
db_type_placeholder
includes/database.inc
Given a Schema API field type, return the correct %-placeholder.
db_unlock_tables
includes/database.mysql.inc
Разблокирует все заблокированные таблицы. Эта функция автоматически завершает транзакцию.
db_version
includes/database.mysql.inc
Возвращает версию используемого сервера баз данных.
decode_entities
includes/unicode.inc
Decode all HTML entities (including numerical ones) to regular UTF-8 bytes. Double-escaped entities will only be decoded once ('&amp;lt;' becomes '&lt;', not '<').
default_form_alter
profiles/default/default.profile
Реализация hook_form_alter().
default_profile_details
profiles/default/default.profile
Return a description of the profile for the initial installation screen.
default_profile_modules
profiles/default/default.profile
Возвращает массив модулей, которые будут установлены при установке профиля.
default_profile_tasks
profiles/default/default.profile
Perform any final installation tasks for this profile.
default_profile_task_list
profiles/default/default.profile
Return a list of tasks that this profile supports.
do_search
modules/search/search.module
Do a query on the full-text search index for a word or words.
drupal_access_denied
includes/common.inc
Генерирует ошибку 403 если для просмотра страницы недостаточно прав.
drupal_add_css
includes/common.inc
Adds a CSS file to the stylesheet queue. Добавляет CSS файл к списку всех подгружаемых CSS файлов для текущей страницы.
drupal_add_feed
includes/common.inc
Добавляет URL фида для текущей страницы.
drupal_add_js
includes/common.inc
Добавляет JavaScript файл, настройки или код на страницу.
drupal_add_link
includes/common.inc
Добавляет тег в HEAD страницы.
drupal_add_tabledrag
includes/common.inc
Assist in adding the tableDrag JavaScript behavior to a themed table.
drupal_alter
includes/common.inc
Эта функция отправки в автоматическом режиме преобразует структурированные массивы Drupal в определенные, соответствующие указанному типу *_alter реализации. Она обеспечивает общий интерфейс для всеx операций изменения.
drupal_anonymous_user
includes/bootstrap.inc
Формирует объект $user со значениями по умолчанию для анонимного пользователя.
drupal_attributes
includes/common.inc
Форматирует строку с атрибутами для вставки в HTML тэг.
drupal_bootstrap
includes/bootstrap.inc
A string describing a phase of Drupal to load. Each phase adds to the previous one, so invoking a later phase automatically runs the earlier phases too. The most important usage is that if you want to access the Drupal database from a script without...
drupal_build_css_cache
includes/common.inc
Объединяет и оптимизирует файлы CSS, размещая конечный файл в файловой директории.
drupal_build_js_cache
includes/common.inc
Объединяет JS файлы, размещая конечный файл в файловой директории.
drupal_check_module
includes/install.inc
Check a module's requirements.
drupal_check_profile
includes/install.inc
Check a profile's requirements.
drupal_clear_css_cache
includes/common.inc
Удаляет все файлы кэша CSS.
drupal_clear_js_cache
includes/common.inc
Удаляет все файлы кэша JS.
drupal_clear_path_cache
includes/common.inc
Обновляет static-переменные, в которых содержится кеш путей для данной страницы.
drupal_clone
includes/common.inc
Обеспечивает замену функции clone() для PHP4.
drupal_common_theme
includes/common.inc
Provide theme registration for themes across .inc files.
drupal_convert_to_utf8
includes/unicode.inc
Конвертирует данные в UTF-8.
drupal_cron_cleanup
includes/common.inc
Shutdown function for cron cleanup.
drupal_cron_run
includes/common.inc
При вызове выполняет задачи cron
drupal_detect_baseurl
includes/install.inc
Auto detect the base_url with PHP predefined variables.
drupal_detect_database_types
includes/install.inc
Определяет все типы баз данных, поддерживаемых Drupal и включенных в текущий инсталляционный профиль PHP.
drupal_discover_template
includes/theme.inc
Choose which template file to actually render. These are all suggested templates from themes and modules. Theming implementations can occur on multiple levels. All paths are checked to account for this.
drupal_error_handler
includes/common.inc
Журналирует ошибки, так, как это указанно администратором.
drupal_eval
includes/common.inc
Исполнить строку кода на PHP.
drupal_execute
includes/form.inc
Извлекает форму по form_id, заполняет ее значениями из $form_state['values'], обрабатывает, и возвращает ошибки обработки этой формы. Эта функция — аналог drupal_get_form(), используемый для программной работы с формами.
drupal_explode_tags
includes/common.inc
Преобразует строку с тегами в массив.
drupal_final_markup
includes/common.inc
Make any final alterations to the rendered xhtml.
drupal_find_theme_functions
includes/theme.inc
Find overridden theme functions. Called by themes and/or theme engines to easily discover theme functions.
drupal_find_theme_templates
includes/theme.inc
Find overridden theme templates. Called by themes and/or theme engines to easily discover templates.

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