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 NeevoException

Main Neevo exception.

Exception
Extended by NeevoException implements INeevoObservable

Direct known subclasses

NeevoDriverException, NeevoImplementationException

Package: Neevo
Author: Martin Srank
Located at neevo/NeevoException.php

Methods summary

public
# __construct( string $message = '', integer $code = 0, string $sql = null, Exception $previous = null )

Construct exception.

Construct exception.

Parameters

$message
string
$message
$code
integer
$code
$sql
string
$sql Optional SQL command
$previous
Exception
$previous

Overrides

Exception::__construct
public string
# __toString( )

String representation of exception.

String representation of exception.

Returns

string

Overrides

Exception::__toString
public string
# getSql( )

Get given SQL command.

Get given SQL command.

Returns

string
public
# attachObserver( INeevoObserver $observer, integer $event )

Attach given observer to given event.

Attach given observer to given event.

Parameters

$observer
INeevoObserver
$observer
$event
integer
$event

Implementation of

INeevoObservable::attachObserver()
public
# detachObserver( INeevoObserver $observer )

Detach given observer.

Detach given observer.

Parameters

$observer
INeevoObserver
$observer

Implementation of

INeevoObservable::detachObserver()
public
# notifyObservers( integer $event )

Notify all observers attached to given event.

Notify all observers attached to given event.

Parameters

$event
integer
$event

Implementation of

INeevoObservable::notifyObservers()

Methods inherited from Exception

getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()

Magic methods summary

Properties summary

protected string $sql
#
protected static NeevoObserverMap $observers
#

Properties inherited from Exception

$code, $file, $line, $message

Neevo Public API API documentation generated by ApiGen 2.8.0