Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

  • BaseStatement
  • Connection
  • Literal
  • Manager
  • Parser
  • Result
  • ResultIterator
  • Row
  • Statement

Interfaces

  • DriverInterface
  • ObservableInterface
  • ObserverInterface

Exceptions

  • DriverException
  • ImplementationException
  • NeevoException
 1 <?php
 2 /**
 3  * Neevo - Tiny database layer for PHP. (http://neevo.smasty.net)
 4  *
 5  * This source file is subject to the MIT license that is bundled
 6  * with this package in the file license.txt.
 7  *
 8  * Copyright (c) 2012 Smasty (http://smasty.net)
 9  *
10  */
11 
12 namespace Neevo;
13 
14 
15 /**
16  * Neevo observer interface.
17  * @author Smasty
18  */
19 interface ObserverInterface {
20 
21 
22     // Event types
23     const CONNECT = 2,
24     SELECT = 4,
25     INSERT = 8,
26     UPDATE = 16,
27     DELETE = 32,
28     QUERY = 60, // SELECT, INSERT, UPDATE, DELETE
29 
30     BEGIN = 64,
31     COMMIT = 128,
32     ROLLBACK = 256,
33     TRANSACTION = 448, // BEGIN, COMMIT, ROLLBACK
34 
35     EXCEPTION = 512,
36     DISCONNECT =1024,
37     ALL = 2046;
38 
39 
40     /**
41      * Receives update from observable subject.
42      * @param ObservableInterface $subject
43      * @param int $event Event type
44      */
45     public function updateStatus(ObservableInterface $subject, $event);
46 
47 
48 }
49 
Neevo Public API API documentation generated by ApiGen 2.8.0