PHP 클래스 Sulu\Bundle\SearchBundle\Search\Configuration\IndexConfiguration

파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__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