class SimpleFlarumSearch implements ExtenderInterface
Methods
addGambit(string $gambitClass)
<p>Add a gambit to this searcher. Gambits are used to filter search queries.</p>
setFullTextGambit(string $gambitClass)
<p>Set the full text gambit for this searcher. The full text gambit actually executes the search.</p>
addSearchMutator(callable|string $callback)
<p>Add a callback through which to run all search queries after gambits have been applied.</p>
Details
at
line 26
__construct(string $searcherClass)
at
line 38
SimpleFlarumSearch
addGambit(string $gambitClass)
<p>Add a gambit to this searcher. Gambits are used to filter search queries.</p>
at
line 52
SimpleFlarumSearch
setFullTextGambit(string $gambitClass)
<p>Set the full text gambit for this searcher. The full text gambit actually executes the search.</p>
at
line 72
SimpleFlarumSearch
addSearchMutator(callable|string $callback)
<p>Add a callback through which to run all search queries after gambits have been applied.</p>