PHP 클래스 eZ\Publish\Core\Base\Container\ApiLoader\SignalSlot\SignalDispatcherFactory

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $signalDispatcherClass, $searchEngineAlias ) SignalDispatcherFactory constructor.
addSlotsForSearchEngine ( string $searchEngineAlias, array $searchEngineSignalSlots ) Bulk add all signal slots if needed for a search engine.
buildSignalDispatcher ( ) : SignalDispatcher Build SignalDispatcher for SignalSlots.
getSearchEngineAlias ( ) : string Get current search engine alias.

메소드 상세

__construct() 공개 메소드

SignalDispatcherFactory constructor.
public __construct ( string $signalDispatcherClass, $searchEngineAlias )
$signalDispatcherClass string
$searchEngineAlias

addSlotsForSearchEngine() 공개 메소드

Bulk add all signal slots if needed for a search engine.
public addSlotsForSearchEngine ( string $searchEngineAlias, array $searchEngineSignalSlots )
$searchEngineAlias string
$searchEngineSignalSlots array [signal => array(slot1, slot2, ...)]

buildSignalDispatcher() 공개 메소드

Build SignalDispatcher for SignalSlots.
public buildSignalDispatcher ( ) : SignalDispatcher
리턴 eZ\Publish\Core\SignalSlot\SignalDispatcher

getSearchEngineAlias() 공개 메소드

Get current search engine alias.
public getSearchEngineAlias ( ) : string
리턴 string