Source of file CustomSearchEngine.php
Size: 0,616 Bytes - Last Modified: 2021-12-23T10:06:07+00:00
/var/www/docs.ssmods.com/process/src/src/services/CustomSearchEngine.php
123456789101112131415161718192021222324252627 | <?php namespace nglasl\extensible; /** * This is the foundation for a custom search engine implementation. * @author Nathan Glasl <nathan@symbiote.com.au> */ abstract class CustomSearchEngine { /** * Depending on whether the search engine supports hierarchy filtering based on parent ID, this may also be configured. */ public $supports_hierarchy = false; /** * Determine the search engine specific selectable fields, primarily for sorting. */ abstract public function getSelectableFields($page = null); abstract public function getSearchResults($data = null, $form = null, $page = null); } |