Interface IDibiProfiler


Defines method that must profiler implement.


Located: in /libs/interfaces.php (line 33)
Method Summary
void
after (int $ticket, [DibiResult $result = NULL])
After event notification.
int
before (DibiConnection $connection, int $event, [string $sql = NULL])
Before event notification.
void
After exception notification.
Constant Summary
int ALL 1023

line 47

event type
int BEGIN 64

line 42

event type
int COMMIT 128

line 43

event type
int CONNECT 1

line 36

event type
int DELETE 16

line 39

event type
int EXCEPTION 512

line 46

event type
int INSERT 8

line 38

event type
int QUERY 60

line 41

event type
int ROLLBACK 256

line 44

event type
int SELECT 4

line 37

event type
int TRANSACTION 448

line 45

event type
int UPDATE 32

line 40

event type

Method Details

line 65

after

public void after (int $ticket, [DibiResult $result = NULL])

After event notification.

Input
int $ticket
DibiResult $result

line 57

before

public int before (DibiConnection $connection, int $event, [string $sql = NULL])

Before event notification.

Input
DibiConnection $connection
int $event event name
string $sql sql

line 72

exception

public void exception (DibiDriverException $exception)

After exception notification.

Input
DibiDriverException $exception