PHP Class 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.
ファイルを表示
Open project: jackalope/jackalope
Protected Properties
Property |
Type |
Description |
|
$factory |
Jackalope\FactoryInterface |
|
|
$session |
PHPCR\SessionInterface |
|
|
$transport |
Jackalope\Transport\ObservationInterface |
|
|
Public Methods
Method Details
__construct()
public method
public __construct ( Jackalope\FactoryInterface $factory, PHPCR\SessionInterface $session, Jackalope\Transport\ObservationInterface $transport ) |
$factory |
Jackalope\FactoryInterface |
|
$session |
PHPCR\SessionInterface |
|
$transport |
Jackalope\Transport\ObservationInterface |
|
addEventListener()
public method
public addEventListener ( PHPCR\Observation\EventListenerInterface $listener, PHPCR\Observation\EventFilterInterface $filter ) |
$listener |
PHPCR\Observation\EventListenerInterface |
|
$filter |
PHPCR\Observation\EventFilterInterface |
|
createEventFilter()
public method
getEventJournal()
public method
public getEventJournal ( PHPCR\Observation\EventFilterInterface $filter ) |
$filter |
PHPCR\Observation\EventFilterInterface |
|
getIterator()
public method
getRegisteredEventListeners()
public method
removeEventListener()
public method
public removeEventListener ( PHPCR\Observation\EventListenerInterface $listener ) |
$listener |
PHPCR\Observation\EventListenerInterface |
|
setUserData()
public method
Property Details
$factory protected_oe property
protected FactoryInterface,Jackalope $factory |
return |
Jackalope\FactoryInterface |
|
$session protected_oe property
protected SessionInterface,PHPCR $session |
return |
PHPCR\SessionInterface |
|
$transport protected_oe property
protected ObservationInterface,Jackalope\Transport $transport |
return |
Jackalope\Transport\ObservationInterface |
|