symfony API

sfDoctrineLogger Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

Logs queries to file and web debug toolbar

Method Summary

Method Details

  • postExecute ($event) Browse code

    $event

    Add the time after a query is executed

  • postPrepare ($event) Browse code

    $event

    Add the time after a query is prepared

  • postQuery ($event, $Doctrine_Event) Browse code

    $event
    $Doctrine_Event

    Post query add the time

  • postStmtExecute ($event) Browse code

    $event

  • preExecute ($event) Browse code

    $event

    Log a query before it is executed

  • preQuery ($event) Browse code

    $event

    Log a query before it is executed

  • preStmtExecute ($event) Browse code

    $event

    Before a query statement is executed log it

  • sfAddTime () Browse code

    Add the time to the log

  • sfLogQuery ($message, $event) Browse code

    $message
    $event

    Log a Doctrine_Query