sfWebDebugPanelDoctrine adds a panel to the web debug toolbar with Doctrine
information.
Method Details
-
(array) filterLogs ($event, $newSqlogs, $Logs)
Browse code
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
-
Build the sql logs and return them as an array
-
Get the title/icon for the panel
-
listenToAddPanelEvent ($event)
Browse code
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.
|