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