symfony API

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

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

Inheritence

sfWebDebugPanelDoctrine  <  sfWebDebugPanel

Method Summary

  • array filterLogs($event, $newSqlogs, $Logs)
    Filter the logs to only include the entries from sfDoctrineLogger
  • string formatSql($sql)
    Format a SQL with some colors on SQL keywords to make it more readable
  • string getPanelContent()
    Get the html content of the panel
  • string getPanelTitle()
    Get the verbal title of the panel
  • array getSqlLogs()
    Build the sql logs and return them as an array
  • string getTitle()
    Get the title/icon for the panel
  • listenToAddPanelEvent($event)
    Hook to allow the loading of the Doctrine webdebug toolbar with the rest of the panels
  • __construct($webDebug)
    Constructor.

Methods inherited from sfWebDebugPanel

getPanelContent , getPanelTitle , getTitle , getTitleUrl , __construct

Method Details

  • (array) filterLogs ($event, $newSqlogs, $Logs) Browse code

    $event
    $newSqlogs
    $Logs

    Filter the logs to only include the entries from sfDoctrineLogger

  • (string) formatSql ($sql) Browse code

    $sql SQL string to format

    Format a SQL with some colors on SQL keywords to make it more readable

    returns The new formatted SQL string

  • (string) getPanelContent () Browse code

    Get the html content of the panel

  • (string) getPanelTitle () Browse code

    Get the verbal title of the panel

  • (array) getSqlLogs () Browse code

    Build the sql logs and return them as an array

  • (string) getTitle () Browse code

    Get the title/icon for the panel

  • listenToAddPanelEvent ($event) Browse code

    $event

    Hook to allow the loading of the Doctrine webdebug toolbar with the rest of the panels

  • __construct ($webDebug) Browse code

    $webDebug The web debut toolbar instance

    Constructor.