Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
|
This is the complete list of members for core_message\api, including all inherited members.
add_contact(int $userid, int $contactid) | core_message\api | static |
add_members_to_conversation(array $userids, int $convid) | core_message\api | static |
block_user(int $userid, int $usertoblockid) | core_message\api | static |
can_contact_user(int $recipientid, int $senderid, bool $evenifblocked=false) | core_message\api | protectedstatic |
can_create_contact(int $userid, int $requesteduserid) | core_message\api | static |
can_create_group_conversation(int $userid, context $context) | core_message\api | static |
can_delete_conversation(int $userid, int $conversationid=null) | core_message\api | static |
can_delete_message($userid, $messageid) | core_message\api | static |
can_delete_message_for_all_users(int $userid, int $messageid) | core_message\api | static |
can_mark_all_messages_as_read(int $userid, int $conversationid) | core_message\api | static |
can_post_message($recipient, $sender=null) | core_message\api | static |
can_send_message(int $recipientid, int $senderid, bool $evenifblocked=false) | core_message\api | static |
can_send_message_to_conversation(int $userid, int $conversationid) | core_message\api | static |
confirm_contact_request(int $userid, int $requesteduserid) | core_message\api | static |
CONVERSATION_ACTION_MUTED | core_message\api | |
count_blocked_users($user=null) | core_message\api | static |
count_contacts(int $userid) | core_message\api | static |
count_conversation_members(int $convid) | core_message\api | static |
count_unread_conversations($user=null) | core_message\api | static |
create_contact_request(int $userid, int $requesteduserid) | core_message\api | static |
create_conversation(int $type, array $userids, string $name=null, int $enabled=self::MESSAGE_CONVERSATION_ENABLED, string $component=null, string $itemtype=null, int $itemid=null, int $contextid=null) | core_message\api | static |
create_conversation_between_users(array $userids) | core_message\api | static |
decline_contact_request(int $userid, int $requesteduserid) | core_message\api | static |
delete_all_conversation_data(int $conversationid) | core_message\api | static |
delete_conversation($userid, $otheruserid) | core_message\api | static |
delete_conversation_by_id(int $userid, int $conversationid) | core_message\api | static |
delete_message($userid, $messageid) | core_message\api | static |
delete_message_for_all_users(int $messageid) | core_message\api | static |
disable_conversation(int $conversationid) | core_message\api | static |
does_contact_request_exist(int $userid, int $requesteduserid) | core_message\api | static |
enable_conversation(int $conversationid) | core_message\api | static |
get_all_message_preferences($processors, $providers, $user) | core_message\api | static |
get_blocked_users($userid) | core_message\api | static |
get_contact(int $userid, int $contactid) | core_message\api | static |
get_contact_requests(int $userid, int $limitfrom=0, int $limitnum=0) | core_message\api | static |
get_contact_requests_between_users(int $userid, int $requesteduserid) | core_message\api | static |
get_contacts($userid, $limitfrom=0, $limitnum=0) | core_message\api | static |
get_contacts_with_unread_message_count($userid, $limitfrom=0, $limitnum=0) | core_message\api | static |
get_conversation(int $userid, int $conversationid, bool $includecontactrequests=false, bool $includeprivacyinfo=false, int $memberlimit=0, int $memberoffset=0, int $messagelimit=0, int $messageoffset=0, bool $newestmessagesfirst=true) | core_message\api | static |
get_conversation_between_users(array $userids) | core_message\api | static |
get_conversation_by_area(string $component, string $itemtype, int $itemid, int $contextid) | core_message\api | static |
get_conversation_counts(int $userid) | core_message\api | static |
get_conversation_members(int $userid, int $conversationid, bool $includecontactrequests=false, bool $includeprivacyinfo=false, int $limitfrom=0, int $limitnum=0) | core_message\api | static |
get_conversation_messages(int $userid, int $convid, int $limitfrom=0, int $limitnum=0, string $sort='timecreated ASC', int $timefrom=0, int $timeto=0) | core_message\api | static |
get_conversations($userid, $limitfrom=0, $limitnum=20, int $type=null, bool $favourites=null, bool $mergeself=false) | core_message\api | static |
get_conversations_between_users(int $userid1, int $userid2, int $limitfrom=0, int $limitnum=20) | core_message\api | static |
get_individual_conversations_between_users(array $useridsets) | core_message\api | static |
get_linked_conversation_extra_fields(array $conversations) | core_message\api | protectedstatic |
get_message_processor($name, $ready=false) | core_message\api | static |
get_messages($userid, $otheruserid, $limitfrom=0, $limitnum=0, $sort='timecreated ASC', $timefrom=0, $timeto=0) | core_message\api | static |
get_most_recent_conversation_message(int $convid, int $currentuserid=0) | core_message\api | static |
get_most_recent_message($userid, $otheruserid) | core_message\api | static |
get_non_contacts_with_unread_message_count($userid, $limitfrom=0, $limitnum=0) | core_message\api | static |
get_processed_processor_object(\stdClass $processor) | core_message\api | static |
get_profile($userid, $otheruserid) | core_message\api | static |
get_received_contact_requests_count(int $userid) | core_message\api | static |
get_self_conversation(int $userid) | core_message\api | static |
get_unread_conversation_counts(int $userid) | core_message\api | static |
get_user_contacts(int $userid, int $limitfrom=0, int $limitnum=0) | core_message\api | static |
get_user_privacy_messaging_preference(int $userid) | core_message\api | static |
is_blocked(int $userid, int $blockeduserid) | core_message\api | static |
is_contact(int $userid, int $contactid) | core_message\api | static |
is_conversation_area_enabled(string $component, string $itemtype, int $itemid, int $contextid) | core_message\api | static |
is_conversation_muted(int $userid, int $conversationid) | core_message\api | static |
is_processor_enabled($name) | core_message\api | static |
is_user_blocked($recipientid, $senderid=null) | core_message\api | static |
is_user_in_conversation(int $userid, int $conversationid) | core_message\api | static |
is_user_non_contact_blocked($recipient, $sender=null) | core_message\api | static |
lazy_create_self_conversation(int $userid) | core_message\api | protectedstatic |
mark_all_messages_as_read($userid, $conversationid=null) | core_message\api | static |
mark_all_notifications_as_read($touserid, $fromuserid=null, $timecreatedto=null) | core_message\api | static |
mark_all_read_for_user() | core_message\api | static |
mark_message_as_read($userid, $message, $timeread=null) | core_message\api | static |
mark_notification_as_read($notification, $timeread=null) | core_message\api | static |
MESSAGE_ACTION_DELETED | core_message\api | |
MESSAGE_ACTION_READ | core_message\api | |
MESSAGE_CONVERSATION_DISABLED | core_message\api | |
MESSAGE_CONVERSATION_ENABLED | core_message\api | |
MESSAGE_CONVERSATION_TYPE_GROUP | core_message\api | |
MESSAGE_CONVERSATION_TYPE_INDIVIDUAL | core_message\api | |
MESSAGE_CONVERSATION_TYPE_SELF | core_message\api | |
MESSAGE_MAX_LENGTH | core_message\api | |
MESSAGE_PRIVACY_COURSEMEMBER | core_message\api | |
MESSAGE_PRIVACY_ONLYCONTACTS | core_message\api | |
MESSAGE_PRIVACY_SITE | core_message\api | |
message_search_users(int $userid, string $search, int $limitfrom=0, int $limitnum=20) | core_message\api | static |
mute_conversation(int $userid, int $conversationid) | core_message\api | static |
remove_contact(int $userid, int $contactid) | core_message\api | static |
remove_members_from_conversation(array $userids, int $convid) | core_message\api | static |
search_messages($userid, $search, $limitfrom=0, $limitnum=0) | core_message\api | static |
search_users($userid, $search, $limitnum=0) | core_message\api | static |
search_users_in_course($userid, $courseid, $search, $limitfrom=0, $limitnum=0) | core_message\api | static |
send_message_to_conversation(int $userid, int $conversationid, string $message, int $format) | core_message\api | static |
set_favourite_conversation(int $conversationid, int $userid) | core_message\api | static |
unblock_user(int $userid, int $usertounblockid) | core_message\api | static |
unmute_conversation(int $userid, int $conversationid) | core_message\api | static |
unset_favourite_conversation(int $conversationid, int $userid) | core_message\api | static |
update_conversation_name(int $conversationid, string $name) | core_message\api | static |
update_processor_status($processor, $enabled) | core_message\api | static |