Функции

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.
ИмяОписание
db_num_rows
includes/database.mysql.inc
Возвращает количество записей, найденных предыдущим запросом.
db_prefix_tables
includes/database.inc
Добавляет префиксы (если нужно) ко всем таблицам запроса.
db_query
includes/database.inc
Runs a basic query in the active database.
db_query_range
includes/database.mysql.inc
Выполняет ограниченный диапазоном запрос к активной базе данных.
db_query_temporary
includes/database.mysql.inc
Выполняет SELECT-запрос и сохраняет результат во временной таблице.
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_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_profile_details
profiles/default/default.profile
Return a description of the profile for the initial installation screen.
default_profile_final
profiles/default/default.profile
Perform any final installation tasks for this profile.
default_profile_modules
profiles/default/default.profile
Возвращает массив модулей, которые будут установлены при установке профиля.
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.
drupal_add_feed
includes/common.inc
Добавляет URL фида для текущей страницы.
drupal_add_js
includes/common.inc
Добавляет JavaScript файл, настройки или код на страницу.
drupal_add_link
includes/common.inc
Добавляет тег в HEAD страницы.
drupal_anonymous_user
includes/bootstrap.inc
Формирует объект $user со значениями по умолчанию для анонимного пользователя.
drupal_attributes
includes/common.inc
Форматирует строку с атрибутами для вставки в HTML тэг.
drupal_auth
modules/drupal/drupal.module
Implementation of hook_auth().
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_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_path_cache
includes/common.inc
Обновляет static-переменные, в которых содержится кеш путей для данной страницы.
drupal_client_page
modules/drupal/drupal.module
Formats a list of all clients.
drupal_client_ping
modules/drupal/drupal.module
Callback function from drupal_xmlrpc() called when another site pings this one.
drupal_clone
includes/common.inc
Обеспечивает замену функции clone() для PHP4.
drupal_convert_to_utf8
includes/unicode.inc
Конвертирует данные в UTF-8.
drupal_cron
modules/drupal/drupal.module
Implementation of hook_cron(); handles pings to and from the site.
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_distributed_authentication_settings
modules/drupal/drupal.module
drupal_eval
includes/common.inc
Исполнить строку кода на PHP.
drupal_execute
includes/form.inc
Извлекает форму по form_id, заполняет ее значениями из $form_values, обрабатывает, и возвращает ошибки обработки этой формы. Эта функция — аналог drupal_get_form(), используемый для программной работы с формами.
drupal_final_markup
includes/common.inc
Make any final alterations to the rendered xhtml.
drupal_get_breadcrumb
includes/common.inc
Получает хлебные крошки для текущей страницы.
drupal_get_content
includes/common.inc
Get assigned content.
drupal_get_css
includes/common.inc
Returns a themed representation of all stylesheets that should be attached to the page. It loads the CSS in order, with 'core' CSS first, then 'module' CSS, then 'theme' CSS files. This ensures proper cascading of styles...
drupal_get_destination
includes/common.inc
Подготавливает строку запроса перенаправления для использования совместно с функцией drupal_goto(). Используется для перенаправления пользователя назад к ссылающейся страницы после заполнения формы. По умолчанию возвращается текущий URL. Если путь назначения задан в предыдущем запросе, возвращается этот путь.Если путь назначения задан в предыдущем запросе, возвращается этот путь.
drupal_get_feeds
includes/common.inc
Get the feed URLs for the current page.
drupal_get_filename
includes/bootstrap.inc
Returns and optionally sets the filename for a system item (module, theme, etc.). The filename, whether provided, cached, or retrieved from the database, is only returned if the file exists.

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