user.module

Хочешь помочь с переводом? Это очень просто и быстро. Лишь зарегистрируйся, и можешь тут же начать переводить.

Версия 1.892.2.14 (checked in on 2009/07/01 at 20:51:56 by goba)

Позволяет пользователям регистрироваться и входить в систему.

Константы

ИмяОписание
EMAIL_MAX_LENGTHМаксмальная длина сообщения e-mail.
USERNAME_MAX_LENGTHКонстанта, указывающая на максимальную длину пользовательского имени.

Функции

ИмяОписание
template_preprocess_user_pictureProcess variables for user-picture.tpl.php.
theme_user_listТемизирует список пользователей.
theme_user_signatureТемизирует подпись пользователя.
user_accessОпределяет, имеет ли пользователь необходимое право доступа.
user_action_infoРеализация hook_action_info().
user_authenticateTry to log in the user locally.
user_authenticate_finalizeFinalize the login process. Must be called when logging in a user.
user_blockРеализация hook_block().
user_block_ip_actionImplementation of a Drupal action. Adds an access rule that blocks the user's IP address.
user_block_user_actionImplementation of a Drupal action. Blocks the current user.
user_build_contentСтроит структурированный массив, представляющий содержимое профиля пользователя.
user_build_filter_queryBuild query for user administration filters based on session.
user_category_loadReturn a user object after checking if any profile category in the path exists.
user_commentРеализация hook_comment().
user_deleteУдаляет пользователя.
user_edit_accessAccess callback for user account editing.
user_edit_form
user_elementsРеализация hook_elements().
user_external_load
user_external_loginPerform standard Drupal login operations for a user object.
user_external_login_registerHelper function for authentication modules. Either login in or registers the current user, based on username. Either way, the global $user object is populated based on $name.
user_fields
user_file_downloadImplementation of hook_file_download().
user_filtersList user administration filters that can be applied.
user_formsРеализация hook_forms().
user_get_authmapsDiscover which external authentication module(s) authenticated a username.
user_helpРеализация hook_help().
user_hook_infoImplementation of hook_hook_info().
user_init
user_is_anonymous
user_is_blockedChecks for usernames blocked by user administration.
user_is_logged_in
user_loadЗагружает объект пользователя.
user_load_self
user_loginКонструктор формы; генерирует форму для входа на сайт.
user_login_authenticate_validateA validate handler on the login form. Check supplied username/password against local users table. If successful, sets the global $user object.
user_login_block
user_login_default_validatorsSet up a series for validators which check for blocked/denied users, then authenticate against local database, then return an error if authentication fails. Distributed authentication modules are welcome to use hook_form_alter() to change this series...
user_login_final_validateA validate handler on the login form. Should be the last validator. Sets an error if user has not been authenticated yet.
user_login_name_validateA FAPI validate handler. Sets an error if supplied username has been blocked or denied access.
user_login_submitSubmit handler for the login form. Redirects the user to a page.
user_mailImplementation of hook_mail().
user_mail_tokensReturn an array of token to value mappings for user e-mail messages.
user_menuРеализация hook_menu().
user_module_invokeВызывает хук hook_user() в каждом модуле.
user_multiple_delete_confirm
user_multiple_delete_confirm_submit
user_multiple_role_editCallback function for admin mass adding/deleting a user role.
user_page_titleMenu item title callback - use the user name if it's not the current user.
user_passwordСоздаёт случайный буквенно-цифровой пароль.
user_pass_rehash
user_pass_reset_url
user_permРеализация hook_perm().
user_preferred_languageGet the language object preferred by the user. This user preference can be set on the user account editing page, and is only available if there are more than one languages enabled on the site. If the user did not choose a preferred language, or is the...
user_registerКонструктор формы; Форма регистрации пользователя.
user_register_access
user_register_submitОбработчик формы регистрации пользователя.
user_register_validate
user_rolesВозвращает массив ролей, соответствующих указанным условиям.
user_saveСохраняет изменения аккаунта пользователя либо добавляет нового пользователя.
user_searchРеализация hook_search().
user_set_authmapsSave mappings of which external authentication module(s) authenticated a user. Maps external usernames to user ids in the users table.
user_themeРеализация hook_theme().
user_uid_optional_load
user_uid_optional_to_argВозвращает uid текущего пользователя.
user_userРеализация hook_user().
user_user_operationsImplementation of hook_user_operations().
user_user_operations_blockАдминистративная функция для массовой блокировки пользователей.
user_user_operations_unblockCallback function for admin mass unblocking users.
user_validate_mail
user_validate_nameПроверяет синтаксис заданного имени.
user_validate_picture
user_view_access
_user_categoriesRetrieve a list of all user setting/information categories and sort them by weight.
_user_edit_submit
_user_edit_validate
_user_formsRetrieve a list of all form elements for the specified category.
_user_mail_notifyСоздает и посылает электронное письмо с уведомлением, когда с данной учетной записью производятся определенные операции. See alsouser_mail_tokens()
_user_mail_textReturns a mail string for a variable name.
_user_password_dynamic_validationAdd javascript and string translations for dynamic password validation (strength and confirmation checking).
_user_sort
Войдите или зарегистрируйтесь, чтобы получить возможность отправлять комментарии

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