PHP Класс Sulu\Bundle\SearchBundle\Search\Configuration\IndexConfiguration

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( string $indexName, string $name = null, string $securityContext = null, array $contexts = [] )
getContexts ( ) : array Returns the contexts for which the index should be returned.
getIndexName ( ) : string Returns the name of the index.
getName ( ) : string Returns the already translated name for the index. Should only be used for non-translatable names. Useful for displaying in the user interface.
getSecurityContext ( ) : string Returns the security context required to access index.

Описание методов

__construct() публичный Метод

public __construct ( string $indexName, string $name = null, string $securityContext = null, array $contexts = [] )
$indexName string The name of the index
$name string The name of the index for the user interface
$securityContext string The required security context to access the index
$contexts array The contexts for which this index should be returned

getContexts() публичный Метод

Returns the contexts for which the index should be returned.
public getContexts ( ) : array
Результат array

getIndexName() публичный Метод

Returns the name of the index.
public getIndexName ( ) : string
Результат string

getName() публичный Метод

Returns the already translated name for the index. Should only be used for non-translatable names. Useful for displaying in the user interface.
public getName ( ) : string
Результат string

getSecurityContext() публичный Метод

Returns the security context required to access index.
public getSecurityContext ( ) : string
Результат string