PHP 클래스 Jackalope\Observation\ObservationManager

Jackalope does not implement event listeners because we would need to poll Jackrabbit on a regular basis to check if an event occurred but there is nothing like threads in PHP.
저자: D. Barsotti ([email protected])
상속: implements IteratorAggregat\IteratorAggregate, implements PHPCR\Observation\ObservationManagerInterface
파일 보기 프로젝트 열기: jackalope/jackalope

보호된 프로퍼티들

프로퍼티 타입 설명
$factory Jackalope\FactoryInterface
$session PHPCR\SessionInterface
$transport Jackalope\Transport\ObservationInterface

공개 메소드들

메소드 설명
__construct ( Jackalope\FactoryInterface $factory, PHPCR\SessionInterface $session, Jackalope\Transport\ObservationInterface $transport )
addEventListener ( PHPCR\Observation\EventListenerInterface $listener, PHPCR\Observation\EventFilterInterface $filter ) {@inheritDoc}
createEventFilter ( ) {@inheritDoc}
getEventJournal ( PHPCR\Observation\EventFilterInterface $filter ) {@inheritDoc}
getIterator ( ) : Traversable
getRegisteredEventListeners ( ) {@inheritDoc}
removeEventListener ( PHPCR\Observation\EventListenerInterface $listener ) {@inheritDoc}
setUserData ( $userData ) {@inheritDoc}

메소드 상세

__construct() 공개 메소드

public __construct ( Jackalope\FactoryInterface $factory, PHPCR\SessionInterface $session, Jackalope\Transport\ObservationInterface $transport )
$factory Jackalope\FactoryInterface
$session PHPCR\SessionInterface
$transport Jackalope\Transport\ObservationInterface

addEventListener() 공개 메소드

{@inheritDoc}
public addEventListener ( PHPCR\Observation\EventListenerInterface $listener, PHPCR\Observation\EventFilterInterface $filter )
$listener PHPCR\Observation\EventListenerInterface
$filter PHPCR\Observation\EventFilterInterface

createEventFilter() 공개 메소드

{@inheritDoc}
public createEventFilter ( )

getEventJournal() 공개 메소드

{@inheritDoc}
public getEventJournal ( PHPCR\Observation\EventFilterInterface $filter )
$filter PHPCR\Observation\EventFilterInterface

getIterator() 공개 메소드

또한 보기: getRegisteredEventListeners
public getIterator ( ) : Traversable
리턴 Traversable The list of event listeners

getRegisteredEventListeners() 공개 메소드

{@inheritDoc}

removeEventListener() 공개 메소드

{@inheritDoc}
public removeEventListener ( PHPCR\Observation\EventListenerInterface $listener )
$listener PHPCR\Observation\EventListenerInterface

setUserData() 공개 메소드

{@inheritDoc}
public setUserData ( $userData )

프로퍼티 상세

$factory 보호되어 있는 프로퍼티

protected FactoryInterface,Jackalope $factory
리턴 Jackalope\FactoryInterface

$session 보호되어 있는 프로퍼티

protected SessionInterface,PHPCR $session
리턴 PHPCR\SessionInterface

$transport 보호되어 있는 프로퍼티

protected ObservationInterface,Jackalope\Transport $transport
리턴 Jackalope\Transport\ObservationInterface