symfony API

sfWebDebugPanelDoctrine Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


You are currently browsing the symfony API for the 1.4 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.

sfWebDebugPanelDoctrine adds a panel to the web debug toolbar with Doctrine information.


sfWebDebugPanelDoctrine  <  sfWebDebugPanel

Method Summary

Methods inherited from sfWebDebugPanel

formatFileLink , formatSql , getPanelContent , getPanelTitle , getStatus , getTitle , getTitleUrl , getToggleableDebugStack , getToggler , setStatus , __construct

Method Details

  • (array) getDoctrineEvents ()

    Returns an array of Doctrine query events.

  • (string) getPanelContent ()

    Get the html content of the panel

    returns $html

  • (string) getPanelTitle ()

    Get the verbal title of the panel

    returns $title

  • (array) getSqlLogs ()

    Builds the sql logs and returns them as an array.

  • (string) getTitle ()

    Get the title/icon for the panel

    returns $html

  • listenToAddPanelEvent ()

    Listens to debug.web.load_panels and adds this panel.