Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Nette
  • None
  • PHP

Classes

  • Neevo
  • NeevoBaseStmt
  • NeevoCacheFile
  • NeevoCacheMemcache
  • NeevoCacheMemory
  • NeevoCacheSession
  • NeevoConnection
  • NeevoDriverMySQL
  • NeevoDriverMySQLi
  • NeevoDriverPgSQL
  • NeevoDriverSQLite2
  • NeevoDriverSQLite3
  • NeevoLiteral
  • NeevoLoader
  • NeevoObserverMap
  • NeevoParser
  • NeevoResult
  • NeevoResultIterator
  • NeevoRow
  • NeevoStmt

Interfaces

  • INeevoCache
  • INeevoDriver
  • INeevoObservable
  • INeevoObserver

Exceptions

  • NeevoDriverException
  • NeevoException
  • NeevoImplementationException

Class NeevoObserverMap

The map of observers - instances of INeevoObserver.

NeevoObserverMap implements Iterator, Countable
Package: Neevo
Author: Martin Srank
Located at neevo/NeevoObserverMap.php

Methods summary

public
# attach( INeevoObserver $observer, integer $event )

Add given observer to map for given event.

Add given observer to map for given event.

Parameters

$observer
INeevoObserver
$observer
$event
integer
$event Event bitmap
public
# detach( INeevoObserver $observer )

Remove given observer from map.

Remove given observer from map.

Parameters

$observer
INeevoObserver
$observer
public boolean
# contains( INeevoObserver $observer )

Check if given observer is in the map.

Check if given observer is in the map.

Parameters

$observer
INeevoObserver
$observer

Returns

boolean
public integer
# getEvent( )

Get the event associated with current observer in iteration.

Get the event associated with current observer in iteration.

Returns

integer
public integer
# count( )

Get number of observers in map.

Get number of observers in map.

Returns

integer

Implementation of

Countable::count()
public
# rewind( )

Rewind internal pointer.

Rewind internal pointer.

Implementation of

Iterator::rewind()
public
# next( )

Move to next observer.

Move to next observer.

Implementation of

Iterator::next()
public boolean
# valid( )

Check for valid current observer.

Check for valid current observer.

Returns

boolean

Implementation of

Iterator::valid()
public INeevoObserver
# current( )

Return the current observer.

Return the current observer.

Returns

INeevoObserver

Implementation of

Iterator::current()
public integer
# key( )

Return the key of current observer.

Return the key of current observer.

Returns

integer

Implementation of

Iterator::key()

Magic methods summary

Neevo Public API API documentation generated by ApiGen 2.8.0