class Doctrine_Connection_Profiler implements Doctrine_Overloadable, IteratorAggregate, Countable (View source)

Doctrine_Connection_Profiler

Methods

__construct()

constructor

boolean
setFilterQueryType()

setFilterQueryType

mixed
__call(string $m, array $a)

method overloader this method is used for invoking different listeners, for the full list of availible listeners, see Doctrine_EventListener

get(mixed $key)

get

array
getAll()

getAll returns all profiled events as an array

getIterator()

getIterator returns an iterator that iterates through the logged events

integer
count()

count

pop()

pop the last event from the event stack

lastEvent()

Get the Doctrine_Event object for the last query that was run, regardless if it has ended or not. If the event has not ended, it's end time will be Null.

Details

__construct()

constructor

boolean setFilterQueryType()

setFilterQueryType

Return Value

boolean

mixed __call(string $m, array $a)

method overloader this method is used for invoking different listeners, for the full list of availible listeners, see Doctrine_EventListener

Parameters

string $m the name of the method
array $a method arguments

Return Value

mixed return value of the method

See also

Doctrine_EventListener

Doctrine_Event get(mixed $key)

get

Parameters

mixed $key

Return Value

Doctrine_Event

array getAll()

getAll returns all profiled events as an array

Return Value

array all events in an array

ArrayIterator getIterator()

getIterator returns an iterator that iterates through the logged events

Return Value

ArrayIterator

integer count()

count

Return Value

integer

Doctrine_Event pop()

pop the last event from the event stack

Return Value

Doctrine_Event

Doctrine_Event lastEvent()

Get the Doctrine_Event object for the last query that was run, regardless if it has ended or not. If the event has not ended, it's end time will be Null.

Return Value

Doctrine_Event