-
(string) getCurrentConfigAsHtml ()
Returns the current configuration as HTML.
returns The current configuration as HTML
-
(string) formatArrayAsHtml ($id, $values)
| $id |
The identifier to use |
| $values |
The array of values |
Converts an array to HTML.
returns An HTML string
-
getInstance ()
Retrieves the singleton instance of this class.
returns A sfWebDebug implementation instance
-
(string) getPriority ($value)
| $value |
The priority value |
Converts a priority value to a string.
returns The priority as a string
-
(string) formatLogLine ($log_line)
| $log_line |
The log line to format |
Formats a log line.
returns The formatted log lin
-
loadHelpers ()
Loads helpers needed for the web debug toolbar.
-
initialize ()
-
logShortMessage ($message)
| $message |
The message string |
Logs a short message to be displayed in the web debug toolbar.
-
(string) getResults ()
Returns the web debug toolbar as HTML.
returns The web debug toolbar HTML
-
log ($logEntry)
| $logEntry |
An array of parameter |
Logs a message to the web debug toolbar.
-
(string) decorateContentWithDebug ($internalUri, $content, $new = false)
| $internalUri |
The internalUri representing the content |
| $content |
The HTML content |
| $new |
true if the content is new in the cache, false otherwise |
Decorates a chunk of HTML with cache information.
returns The decorated HTML string
-
registerAssets ()
Registers javascripts and stylesheets needed for the web debug toolbar.