| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[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: | 843 lines (33 kb) |
| Included or required: | 0 times |
| Referenced: | 10 times |
| Includes or requires: | 0 files |
core_message_external:: (24 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()
moodle_message_external:: (3 methods):
send_instantmessages_parameters()
send_instantmessages()
send_instantmessages_returns()
Class: core_message_external - X-Ref
Message external functions| send_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 |
Class: moodle_message_external - X-Ref
Deprecated message external functions| send_instantmessages_parameters() X-Ref |
| Returns description of method parameters return: external_function_parameters |
| send_instantmessages($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_instantmessages_returns() X-Ref |
| Returns description of method result value return: external_description |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |