Class cebe\jssearch\Indexer

Inheritancecebe\jssearch\Indexer

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$files cebe\jssearch\Indexer
$index cebe\jssearch\Indexer

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
generateFileInfo() cebe\jssearch\Indexer

Property Details

$files public property
public $files = []
$index public property
public $index = []

Method Details

exportJs() public method

public void exportJs ( )
generateFileInfo() protected method

protected void generateFileInfo ( $file, $contents, $basePath, $baseUrl )
$file
$contents
$basePath
$baseUrl
getAnalyzer() public method

public cebe\jssearch\AnalyzerInterface getAnalyzer ( )
getTokenizer() public method

public cebe\jssearch\TokenizerInterface getTokenizer ( )
indexFiles() public method

public void indexFiles ( $files, $basePath, $baseUrl './' )
$files
$basePath
$baseUrl
setAnalyzer() public method

public void setAnalyzer ( $analyzer )
$analyzer cebe\jssearch\AnalyzerInterface
setTokenizer() public method

public void setTokenizer ( $tokenizer )
$tokenizer cebe\jssearch\TokenizerInterface