PHP 클래스 Jackalope\Observation\EventJournal

저자: D. Barsotti ([email protected])
상속: extends ArrayIterator, implements PHPCR\Observation\EventJournalInterface
파일 보기 프로젝트 열기: jackalope/jackalope 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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