Sunnysideup\Ecommerce\Api\KeywordSearchBuilder
Synopsis
class KeywordSearchBuilder
{
- // members
- protected string $keywordPhrase = '';
- protected string $ifStatement = '';
- // methods
- public void getProductResults()
- public void getProductGroupResults()
- public void processKeyword()
- protected void createIfStatements()
- protected void addIfStatement()
- protected void addEndIfStatement()
- protected void createSql()
- protected void replaceSearchPhraseOrWord()
Hierarchy
Uses
- SilverStripe\Core\Injector\Injectable
Members
protected
- $ifStatement
- $keywordPhrase
Methods
protected
- addEndIfStatement()
- addIfStatement()
- createIfStatements() — creates three levels of searches that can be executed one after the other, each being less specific than the one before...
- createSql()
- replaceSearchPhraseOrWord()