PHP Class Jackalope\Observation\EventJournal

Author: D. Barsotti ([email protected])
Inheritance: extends ArrayIterator, implements PHPCR\Observation\EventJournalInterface
Afficher le fichier Open project: jackalope/jackalope Class Usage Examples

Protected Properties

Свойство Type Description
$currentMillis integer SkipTo timestamp for next fetch. Either manually set or next page.
$events ArrayIterato\ArrayIterator Buffered events
$factory Jackalope\FactoryInterface
$filter EventFilter
$session PHPCR\SessionInterface
$transport Jackalope\Transport\ObservationInterface
$workspaceRootUri string The prefix to extract the path from the event href attribute

Méthodes publiques

Méthode Description
__construct ( Jackalope\FactoryInterface $factory, EventFilter $filter, PHPCR\SessionInterface $session, Jackalope\Transport\ObservationInterface $transport ) Prepare a new EventJournal.
current ( )
key ( )
next ( )
rewind ( )
seek ( $position )
skipTo ( $date ) {@inheritDoc}
valid ( )

Méthodes protégées

Méthode Description
fetchJournal ( )

Method Details

__construct() public méthode

Actual data loading is deferred to when it is first requested.
public __construct ( Jackalope\FactoryInterface $factory, EventFilter $filter, PHPCR\SessionInterface $session, Jackalope\Transport\ObservationInterface $transport )
$factory Jackalope\FactoryInterface
$filter EventFilter filter to give the transport and apply locally.
$session PHPCR\SessionInterface
$transport Jackalope\Transport\ObservationInterface a transport implementing the observation methods.

current() public méthode

public current ( )

fetchJournal() protected méthode

protected fetchJournal ( )

key() public méthode

public key ( )

next() public méthode

public next ( )

rewind() public méthode

public rewind ( )

seek() public méthode

public seek ( $position )

skipTo() public méthode

{@inheritDoc}
public skipTo ( $date )

valid() public méthode

public valid ( )

Property Details

$currentMillis protected_oe property

SkipTo timestamp for next fetch. Either manually set or next page.
protected int $currentMillis
Résultat integer

$events protected_oe property

Buffered events
protected ArrayIterator,ArrayIterato $events
Résultat ArrayIterato\ArrayIterator

$factory protected_oe property

protected FactoryInterface,Jackalope $factory
Résultat Jackalope\FactoryInterface

$filter protected_oe property

protected EventFilter,Jackalope\Observation $filter
Résultat EventFilter

$session protected_oe property

protected SessionInterface,PHPCR $session
Résultat PHPCR\SessionInterface

$transport protected_oe property

protected ObservationInterface,Jackalope\Transport $transport
Résultat Jackalope\Transport\ObservationInterface

$workspaceRootUri protected_oe property

The prefix to extract the path from the event href attribute
protected string $workspaceRootUri
Résultat string