MDL-55356 core_search: New area API get_document_recordset
authorsam marshall <s.marshall@open.ac.uk>
Wed, 6 Sep 2017 14:37:14 +0000 (15:37 +0100)
committersam marshall <s.marshall@open.ac.uk>
Wed, 11 Oct 2017 16:17:08 +0000 (17:17 +0100)
commit427b7563559cf42b08d6f7badcf71038b3202940
tree0826db021b6d820cf8e649e4318ee2ed6def9368
parent6893ee4a496234d38c49ef91ce5fe82fdb68effc
MDL-55356 core_search: New area API get_document_recordset

The search area API now includes a new function get_document_recordset
which should be implemented in preference to the older
get_recordset_by_timestamp. (It's also possible to implement both in
plugin search areas which need to work against older Moodle versions.)

Existing search areas without the new function will continue to work as
before (obviously without the new functionality).
search/classes/base.php
search/classes/base_activity.php
search/classes/base_block.php
search/classes/base_mod.php
search/tests/base_activity_test.php
search/tests/base_block_test.php
search/upgrade.txt