Sunnysideup\SearchSimpleSmart\Abstractions\SearchEngineMakeSearchable
Synopsis
interface SearchEngineMakeSearchable
{
- // methods
- public string Link()
- public array SearchEngineFullContentForIndexingProvider()
- public array SearchEngineFullContentWeigthingProvider()
- public string SearchEngineResultsTemplatesProvider()
- public array SearchEngineAlsoTriggerProvider()
- public boolean SearchEngineExcludeFromIndexProvider()
Methods
public
- Link() — returns a URL link to the object
- SearchEngineAlsoTriggerProvider()
- SearchEngineExcludeFromIndexProvider() — return true if the object should not be indexed
- SearchEngineFullContentForIndexingProvider() — returns a full-text version of an object like this: array( 1 => "bla", 2 => "foo", 3 => "bar" ); where 1/2/3 are the levels of importance of each string.
- SearchEngineFullContentWeigthingProvider() — returns weigthing for each level of full content array( 1 => 30, 2 => 20, 3 => 10 ); where 1/2/3 are the levels of importance of each string.
- SearchEngineResultsTemplatesProvider() — returns templates for formatting the object in the search results.