Функции

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.
ИмяОписание
hook_link
developer/hooks/core.php
Определяет внутренние ссылки Drupal.
hook_link_alter
developer/hooks/core.php
Производит изменения перед тем как отображаются ссылки в ноде. Один из популярных способов использования этого хука - изменение/удаление ссылок из других модулей. Если вы хотите добавить ссылку в секцию ссылок ноды, используйте вместо этого hook_link().
hook_load
developer/hooks/node.php
Загружает информацию специфичную для типа ноды.
hook_mail_alter
developer/hooks/core.php
Alter any aspect of the emails sent by Drupal. You can use this hook to add a common site footer to all outgoing emails; add extra header fields and/or modify the mails sent out in any way. HTML-izing the outgoing mails is one possibility. See also...
hook_menu
developer/hooks/core.php
Определяет пункты меню и обратный вызов страниц.
hook_nodeapi
developer/hooks/core.php
Выполняет действия над нодами.
hook_node_access_records
developer/hooks/core.php
Set permissions for a node to be written to the database.
hook_node_grants
developer/hooks/core.php
Inform the node access system what permissions the user has.
hook_node_info
developer/hooks/node.php
Определяет типы нод, которые предоставляет модуль.
hook_node_operations
developer/hooks/core.php
Add mass node operations.
hook_node_type
developer/hooks/node.php
Позволяет модулям осуществлять действия при изменении типа нод.
hook_perm
developer/hooks/core.php
Определяет права доступа пользователя.
hook_ping
developer/hooks/core.php
Отправляет ping-запрос на другой сервер.
hook_prepare
developer/hooks/node.php
Этот хук используется модулями, которые работают с нодами. Он вызывается после загрузки ноды, но перед тем, как нода будет отображена в форме добавления/редактирования.
hook_profile_alter
developer/hooks/core.php
Вносит изменения в элементы профиля перед тем, как они будут показаны. Вы можете пропускать/добавлять/пересортировывать/перегруппировывать и т.д.
hook_requirements
developer/hooks/install.php
Check installation requirements that need to be satisfied.
hook_search
developer/hooks/core.php
Определяет пользовательскую функцию поиска.
hook_search_preprocess
developer/hooks/core.php
Пред-обработка текста перед занесением в поисковой индекс.
hook_submit
developer/hooks/node.php
This is a hook used by node modules. It is called after validation has succeeded and before insert/update. It is used to for actions which must happen only if the node is to be saved. Usually, $node is changed in some way and then the actual saving of...
hook_taxonomy
developer/hooks/core.php
Выполняется при изменениях таксономии.
hook_uninstall
developer/hooks/install.php
Служит для удаления таблиц и переменных модуля.
hook_update
developer/hooks/node.php
Запускается при обновлениях ноды.
hook_update_index
developer/hooks/core.php
Обновляет полнотекстовый индекс Друпала для данного модуля.
hook_update_last_removed
developer/hooks/install.php
Возвращает номер последнего обновления модуля, не доступного более через хуки hook_update_N().
hook_update_N
developer/hooks/install.php
Производит обновление таблиц БД, необходимое для единичного обновления модуля.
hook_user
developer/hooks/core.php
Выполняет действия с учётными записями пользователей.
hook_user_operations
developer/hooks/core.php
Добавляет массовую операцию над пользователями.
hook_validate
developer/hooks/node.php
Проверяет форму редактирования ноды.
hook_view
developer/hooks/node.php
Показывает ноду.
hook_xmlrpc
developer/hooks/core.php
Регистрирует обработчики XML-RPC.
image_crop
includes/image.inc
Crop an image to the rectangle specified by the given rectangle.
image_gd_check_settings
includes/image.inc
Verify GD2 settings (that the right version is actually installed).
image_gd_close
includes/image.inc
GD helper to write an image resource to a destination file.
image_gd_crop
includes/image.inc
Crop an image using the GD toolkit.
image_gd_open
includes/image.inc
GD helper function to create an image resource from a file.
image_gd_resize
includes/image.inc
Scale an image to the specified size using GD.
image_gd_rotate
includes/image.inc
Rotate an image the given number of degrees.
image_gd_settings
includes/image.inc
Retrieve settings for the GD2 toolkit.
image_get_available_toolkits
includes/image.inc
Return a list of available toolkits.
image_get_info
includes/image.inc
Возвращает информацию о формате изображения.
image_get_toolkit
includes/image.inc
Retrieve the name of the currently used toolkit.
image_resize
includes/image.inc
Resize an image to the given dimensions (ignoring aspect ratio).
image_rotate
includes/image.inc
Rotate an image by the given number of degrees.
image_scale
includes/image.inc
Scales an image to the given width and height while maintaining aspect ratio.
image_toolkit_invoke
includes/image.inc
Invokes the given method using the currently selected toolkit.
init_theme
includes/theme.inc
Инициализирует систему темизации и загружает тему.
install_already_done_error
./install.php
Show an error page when Drupal has already been installed.
install_change_settings
./install.php
Configure and rewrite settings.php.
install_check_requirements
./install.php
Page to check installation requirements and report any errors.
install_complete
./install.php
Page displayed when the installation is complete. Called from install.php.

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