Functions

NameLocationDescription
hook_privatemsg_autocomplete_alter./privatemsg.api.phpAllows to alter the found autocomplete suggestions.
hook_privatemsg_block_message./privatemsg.api.phpCheck if the author can send a message to the recipients.
hook_privatemsg_message_flush./privatemsg.api.phpIs called when a message is flushed.
hook_privatemsg_message_insert./privatemsg.api.phpThis hook is executed after the message has been saved.
hook_privatemsg_message_presave_alter./privatemsg.api.phpChange the message before it is stored.
hook_privatemsg_message_recipient_changed./privatemsg.api.phpThis hook is invoked when a recipient is added to a message.
hook_privatemsg_message_status_changed./privatemsg.api.phpAllows response to a status change.
hook_privatemsg_message_validate./privatemsg.api.phpValidate a message before it is sent/saved in the database.
hook_privatemsg_message_view_alter./privatemsg.api.phpAct on the $vars before a message is displayed.
hook_privatemsg_name_lookup./privatemsg.api.phpHook which allows to look up a user object.
hook_privatemsg_name_lookup_matches./privatemsg.api.phpAllows to alter found recipient types for a given string.
hook_privatemsg_operation_executed./privatemsg.api.phpAllows response to a successful operation.
hook_privatemsg_recipient_type_info./privatemsg.api.phpThis hook is used to tell privatemsg about the recipient types defined by a module. Each type consists of an array keyed by the internal recipient type name and the following keys must be defined.
hook_privatemsg_recipient_type_info_alter./privatemsg.api.phpAllows to alter the defined recipient types.
hook_privatemsg_thread_operations./privatemsg.api.phpExpose operations/actions which can be executed on threads.
hook_privatemsg_view_alter./privatemsg.api.phpAdd content to the view thread page.
hook_privatemsg_view_template./privatemsg.api.phpList of possible templates.
hook_query_privatemsg_autocomplete_alter./privatemsg.api.phpQuery to search for autocomplete usernames.
hook_query_privatemsg_deleted_alter./privatemsg.api.phpAlter the query that loads deleted messages to flush them.
hook_query_privatemsg_messages_alter./privatemsg.api.phpQuery definition to load messages of one or multiple threads.
hook_query_privatemsg_participants_alter./privatemsg.api.phpAlter the query that loads the participants of a thread.
hook_query_privatemsg_sql_list_alter./privatemsg.api.phpDisplay a list of threads.
hook_query_privatemsg_unread_count_alter./privatemsg.api.phpLoads all unread messages of a user (only the count query is used).
pm_block_user_block_submitpm_block_user/pm_block_user.pages.incSubmit callback for block user form.
pm_block_user_block_validatepm_block_user/pm_block_user.pages.incValidate user names.
pm_block_user_formpm_block_user/pm_block_user.pages.inc
pm_block_user_form_submitpm_block_user/pm_block_user.pages.incSubmit callback for block user confirmation form.
pm_block_user_has_blockedpm_block_user/pm_block_user.moduleChecks if author is blocked by the recipient.
pm_block_user_helppm_block_user/pm_block_user.moduleImplements hook_help().
pm_block_user_jspm_block_user/pm_block_user.admin.incMenu callback for AHAH handling.
pm_block_user_listpm_block_user/pm_block_user.pages.incFormbuilder function to build a simple form to block users.
pm_block_user_menupm_block_user/pm_block_user.moduleImplements hook_menu().
pm_block_user_more_submitpm_block_user/pm_block_user.admin.incSubmit handler for 'More' button, adds a new action.
pm_block_user_privatemsg_autocomplete_alterpm_block_user/pm_block_user.module
pm_block_user_privatemsg_block_messagepm_block_user/pm_block_user.moduleImplements hook_privatemsg_block_message.
pm_block_user_privatemsg_message_view_alterpm_block_user/pm_block_user.moduleImplements hook_privatemsg_message_view_alter.
pm_block_user_query_privatemsg_autocomplete_alterpm_block_user/pm_block_user.moduleImplements hook_query_TAG_alter().
pm_block_user_query_privatemsg_message_load_multiple_alterpm_block_user/pm_block_user.module
pm_block_user_remove_submitpm_block_user/pm_block_user.admin.incSubmit handler for 'Remove' button, removes an action.
pm_block_user_schemapm_block_user/pm_block_user.installImplement hook_schema().
pm_block_user_settingspm_block_user/pm_block_user.admin.incMenu callback for blocked user settings.
pm_block_user_settings_submitpm_block_user/pm_block_user.admin.incSubmit handler for admin form.
pm_block_user_themepm_block_user/pm_block_user.moduleImplements hook_theme().
pm_block_user_user_cancelpm_block_user/pm_block_user.moduleImplements hook_user_cancel().
pm_email_notify_form_alterpm_email_notify/pm_email_notify.moduleImplements hook_form_alter().
pm_email_notify_form_privatemsg_admin_settings_alterpm_email_notify/pm_email_notify.moduleImplements hook_form_FORM_ID_alter().
pm_email_notify_mailpm_email_notify/pm_email_notify.moduleImplements hook_mail().
pm_email_notify_privatemsg_message_insertpm_email_notify/pm_email_notify.moduleImplements hook_privatemsg_message_insert().
pm_email_notify_schemapm_email_notify/pm_email_notify.install
pm_email_notify_uninstallpm_email_notify/pm_email_notify.installImplements hook_uninstall().

Pages

Other projects