[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
External message API
Copyright: | 2011 Jerome Mouneyrac |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 1101 lines (41 kb) |
Included or required: | 0 times |
Referenced: | 12 times |
Includes or requires: | 0 files |
core_message_external:: (33 methods):
send_instant_messages_parameters()
send_instant_messages()
send_instant_messages_returns()
create_contacts_parameters()
create_contacts()
create_contacts_returns()
delete_contacts_parameters()
delete_contacts()
delete_contacts_returns()
block_contacts_parameters()
block_contacts()
block_contacts_returns()
unblock_contacts_parameters()
unblock_contacts()
unblock_contacts_returns()
get_contacts_parameters()
get_contacts()
get_contacts_returns()
search_contacts_parameters()
search_contacts()
search_contacts_returns()
get_messages_parameters()
get_messages()
get_messages_returns()
get_blocked_users_parameters()
get_blocked_users()
get_blocked_users_returns()
mark_message_read_parameters()
mark_message_read()
mark_message_read_returns()
delete_message_parameters()
delete_message()
delete_message_returns()
Class: core_message_external - X-Ref
Message external functionssend_instant_messages_parameters() X-Ref |
Returns description of method parameters return: external_function_parameters |
send_instant_messages($messages = array() X-Ref |
Send private messages from the current USER to other users param: array $messages An array of message to send. return: array |
send_instant_messages_returns() X-Ref |
Returns description of method result value return: external_description |
create_contacts_parameters() X-Ref |
Create contacts parameters description. return: external_function_parameters |
create_contacts($userids) X-Ref |
Create contacts. param: array $userids array of user IDs. return: external_description |
create_contacts_returns() X-Ref |
Create contacts return description. return: external_description |
delete_contacts_parameters() X-Ref |
Delete contacts parameters description. return: external_function_parameters |
delete_contacts($userids) X-Ref |
Delete contacts. param: array $userids array of user IDs. return: null |
delete_contacts_returns() X-Ref |
Delete contacts return description. return: external_description |
block_contacts_parameters() X-Ref |
Block contacts parameters description. return: external_function_parameters |
block_contacts($userids) X-Ref |
Block contacts. param: array $userids array of user IDs. return: external_description |
block_contacts_returns() X-Ref |
Block contacts return description. return: external_description |
unblock_contacts_parameters() X-Ref |
Unblock contacts parameters description. return: external_function_parameters |
unblock_contacts($userids) X-Ref |
Unblock contacts. param: array $userids array of user IDs. return: null |
unblock_contacts_returns() X-Ref |
Unblock contacts return description. return: external_description |
get_contacts_parameters() X-Ref |
Get contacts parameters description. return: external_function_parameters |
get_contacts() X-Ref |
Get contacts. param: array $userids array of user IDs. return: external_description |
get_contacts_returns() X-Ref |
Get contacts return description. return: external_description |
search_contacts_parameters() X-Ref |
Search contacts parameters description. return: external_function_parameters |
search_contacts($searchtext, $onlymycourses = false) X-Ref |
Search contacts. param: string $searchtext query string. param: bool $onlymycourses limit the search to the user's courses only. return: external_description |
search_contacts_returns() X-Ref |
Search contacts return description. return: external_description |
get_messages_parameters() X-Ref |
Get messages parameters description. return: external_function_parameters |
get_messages($useridto, $useridfrom = 0, $type = 'both', $read = true,$newestfirst = true, $limitfrom = 0, $limitnum = 0) X-Ref |
Get messages function implementation. param: int $useridto the user id who received the message param: int $useridfrom the user id who send the message. -10 or -20 for no-reply or support user param: string $type type of message to return, expected values: notifications, conversations and both param: bool $read true for retreiving read messages, false for unread param: bool $newestfirst true for ordering by newest first, false for oldest first param: int $limitfrom limit from param: int $limitnum limit num return: external_description |
get_messages_returns() X-Ref |
Get messages return description. return: external_single_structure |
get_blocked_users_parameters() X-Ref |
Get blocked users parameters description. return: external_function_parameters |
get_blocked_users($userid) X-Ref |
Retrieve a list of users blocked param: int $userid the user whose blocked users we want to retrieve return: external_description |
get_blocked_users_returns() X-Ref |
Get blocked users return description. return: external_single_structure |
mark_message_read_parameters() X-Ref |
Returns description of method parameters return: external_function_parameters |
mark_message_read($messageid, $timeread) X-Ref |
Mark a single message as read, trigger message_viewed event param: int $messageid id of the message (in the message table) param: int $timeread timestamp for when the message should be marked read return: external_description |
mark_message_read_returns() X-Ref |
Returns description of method result value return: external_description |
delete_message_parameters() X-Ref |
Returns description of method parameters return: external_function_parameters |
delete_message($messageid, $userid, $read = true) X-Ref |
Deletes a message param: int $messageid the message id param: int $userid the user id of who we want to delete the message for param: bool $read if is a message read (default to true) return: external_description |
delete_message_returns() X-Ref |
Returns description of method result value return: external_description |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |