PHP Класс Jackalope\Observation\EventJournal

Автор: D. Barsotti ([email protected])
Наследование: extends ArrayIterator, implements PHPCR\Observation\EventJournalInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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 ( )

Защищенные методы

Метод Описание
fetchJournal ( )

Описание методов

__construct() публичный метод

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 current ( )

fetchJournal() защищенный метод

protected fetchJournal ( )

key() публичный метод

public key ( )

next() публичный метод

public next ( )

rewind() публичный метод

public rewind ( )

seek() публичный метод

public seek ( $position )

skipTo() публичный метод

{@inheritDoc}
public skipTo ( $date )

valid() публичный метод

public valid ( )

Описание свойств

$currentMillis защищенное свойство

SkipTo timestamp for next fetch. Either manually set or next page.
protected int $currentMillis
Результат integer

$events защищенное свойство

Buffered events
protected ArrayIterator,ArrayIterato $events
Результат ArrayIterato\ArrayIterator

$factory защищенное свойство

protected FactoryInterface,Jackalope $factory
Результат Jackalope\FactoryInterface

$filter защищенное свойство

protected EventFilter,Jackalope\Observation $filter
Результат EventFilter

$session защищенное свойство

protected SessionInterface,PHPCR $session
Результат PHPCR\SessionInterface

$transport защищенное свойство

protected ObservationInterface,Jackalope\Transport $transport
Результат Jackalope\Transport\ObservationInterface

$workspaceRootUri защищенное свойство

The prefix to extract the path from the event href attribute
protected string $workspaceRootUri
Результат string