PHP Class eZ\Bundle\EzPublishCoreBundle\ApiLoader\SearchEngineIndexerFactory

Datei anzeigen Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$searchEngineIndexers eZ\Publish\Core\Search\Common\Indexer[] Key is the search engine identifier, value indexer itself.

Public Methods

Method Description
__construct ( RepositoryConfigurationProvider $repositoryConfigurationProvider )
buildSearchEngineIndexer ( ) : Indexer Build search engine indexer identified by its identifier (the "alias" attribute in the service tag), resolved for current siteaccess.
getSearchEngineIndexers ( ) : Indexer[] Returns registered search engine indexers.
registerSearchEngineIndexer ( Indexer $searchEngineIndexer, string $searchEngineIdentifier ) Registers $searchEngineIndexer as a valid search engine indexer with identifier $searchEngineIdentifier.

Method Details

__construct() public method

public __construct ( RepositoryConfigurationProvider $repositoryConfigurationProvider )
$repositoryConfigurationProvider RepositoryConfigurationProvider

buildSearchEngineIndexer() public method

Build search engine indexer identified by its identifier (the "alias" attribute in the service tag), resolved for current siteaccess.
public buildSearchEngineIndexer ( ) : Indexer
return eZ\Publish\Core\Search\Common\Indexer

getSearchEngineIndexers() public method

Returns registered search engine indexers.
public getSearchEngineIndexers ( ) : Indexer[]
return eZ\Publish\Core\Search\Common\Indexer[]

registerSearchEngineIndexer() public method

Registers $searchEngineIndexer as a valid search engine indexer with identifier $searchEngineIdentifier.
public registerSearchEngineIndexer ( Indexer $searchEngineIndexer, string $searchEngineIdentifier )
$searchEngineIndexer eZ\Publish\Core\Search\Common\Indexer
$searchEngineIdentifier string

Property Details

$searchEngineIndexers protected_oe property

Key is the search engine identifier, value indexer itself.
protected Indexer[],eZ\Publish\Core\Search\Common $searchEngineIndexers
return eZ\Publish\Core\Search\Common\Indexer[]