FluentIndexExtension
extends Extension
in package
Support for Fluent translations in the index.
Table of Contents
Properties
Methods
- onAfterInit() : void
- Add the needed language copy fields to Solr
- onBeforeInit() : mixed
- Add the fluent states
- onBeforeSearch() : void
- Set to the correct language to search if needed
Properties
$owner
public
BaseIndex|FluentIndexExtension
$owner
Methods
onAfterInit()
Add the needed language copy fields to Solr
public
onAfterInit() : void
onBeforeInit()
Add the fluent states
public
onBeforeInit() : mixed
onBeforeSearch()
Set to the correct language to search if needed
public
onBeforeSearch(BaseQuery $query, Query $clientQuery) : void
Parameters
- $query : BaseQuery
- $clientQuery : Query