[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/search/tests/fixtures/ -> mock_search_area.php (summary)

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: 125 lines (4 kb)
Included or required: 2 times
Referenced: 1 time
Includes or requires: 0 files

Defines 1 class

mock_search_area:: (9 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()


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



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1