See Release Notes
Long Term Support Release
Component implementing search for testing purposes.
Copyright: | David Monllao {@link http://www.davidmonllao.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 147 lines (5 kb) |
Included or required: | 3 times |
Referenced: | 6 times |
Includes or requires: | 0 files |
mock_search_area:: (11 methods):
is_enabled()
get_recordset_by_timestamp()
convert_record_to_doc_array()
get_document()
attach_files()
uses_file_indexing()
check_access()
get_doc_url()
get_context_url()
get_visible_name()
set_indexing_delay()
Class: mock_search_area - X-Ref
is_enabled() X-Ref |
To make things easier, base class required config stuff. return: bool |
get_recordset_by_timestamp($modifiedfrom = 0) X-Ref |
No description |
convert_record_to_doc_array($record) X-Ref |
A helper function that will turn a record into 'data array', for use with document building. |
get_document($record, $options = array() X-Ref |
No description |
attach_files($document) X-Ref |
No description |
uses_file_indexing() X-Ref |
No description |
check_access($id) X-Ref |
No description |
get_doc_url(\core_search\document $doc) X-Ref |
No description |
get_context_url(\core_search\document $doc) X-Ref |
No description |
get_visible_name($lazyload = false) X-Ref |
No description |
set_indexing_delay($seconds) X-Ref |
Sets a fake delay to simulate time taken doing the indexing query. param: float $seconds Delay in seconds for each time indexing query is called |