symfony API

sfWebDebug Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu

1.1 API OpenSearch


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

sfWebDebug creates debug information for easy debugging in the browser.

Method Summary

Method Details

  • (string) decorateContentWithDebug ($event, $content) Browse code

    $event A sfEvent instance
    $content The HTML content

    Listens to the 'view.cache.filter_content' event to decorate a chunk of HTML with cache information.

    returns The decorated HTML string

  • (string) formatArrayAsHtml ($id, $values) Browse code

    $id The identifier to use
    $values The array of values

    Converts an array to HTML.

    returns An HTML string

  • (string) formatLogLine ($logLine) Browse code

    $logLine The log line to format

    Formats a log line.

    returns The formatted log lin

  • (string) getCurrentConfigAsHtml () Browse code

    Returns the current configuration as HTML.

    returns The current configuration as HTML

  • (string) getPriority ($value) Browse code

    $value The priority value

    Converts a priority value to a string.

    returns The priority as a string

  • (string) getResults () Browse code

    Returns the web debug toolbar as HTML.

    returns The web debug toolbar HTML

  • loadHelpers () Browse code

    Loads helpers needed for the web debug toolbar.

  • log ($logEntry) Browse code

    $logEntry An array of parameter

    Logs a message to the web debug toolbar.

  • removeObjects () Browse code

  • __construct () Browse code