You are currently viewing the 0.10 branch api documentation. Switch to 1.0 or 1.1

0.10 Doctrine_Connection_Profiler

Doctrine Connection Profiler

Method Summary

Returns Name Description
integer count
get
array getAll
ArrayIterator getIterator
lastEvent
pop
boolean setFilterQueryType
boolean __call
__construct

Method Details

  • (integer) count()


  • get($key)


  • (array) getAll()

    getAll returns all profiled events as an array

    Doctrine_Connection_Profiler


  • (ArrayIterator) getIterator()

    getIterator returns an iterator that iterates through the logged events


  • 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.


  • pop()

    pop the last event from the event stack


  • (boolean) setFilterQueryType($filter)


  • $m the name of the method
    $a method arguments

    (boolean) __call($m, $a)

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


  • __construct()

    constructor