See Release Notes
Long Term Support Release
Search area for received messages.
Copyright: | 2016 Devang Gaur |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 106 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
message_received:: (3 methods):
get_document_recordset()
get_document()
check_access()
Class: message_received - X-Ref
Search area for received messages.get_document_recordset($modifiedfrom = 0, \context $context = null) X-Ref |
Returns a recordset with the messages for indexing. param: int $modifiedfrom param: \context|null $context Optional context to restrict scope of returned results return: moodle_recordset|null Recordset (or null if no results) |
get_document($record, $options = array() X-Ref |
Returns the document associated with this message record. param: stdClass $record param: array $options return: \core_search\document |
check_access($id) X-Ref |
Whether the user can access the document or not. param: int $id The message instance id. return: int |