symfony API

sfWebDebug 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.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)

    $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)

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

    Converts an array to HTML.

    returns An HTML string

  • (string) formatLogLine ($logLine)

    $logLine The log line to format

    Formats a log line.

    returns The formatted log lin

  • (string) getCurrentConfigAsHtml ()

    Returns the current configuration as HTML.

    returns The current configuration as HTML

  • (string) getPriority ($value)

    $value The priority value

    Converts a priority value to a string.

    returns The priority as a string

  • (string) getResults ()

    Returns the web debug toolbar as HTML.

    returns The web debug toolbar HTML

  • loadHelpers ()

    Loads helpers needed for the web debug toolbar.

  • log ($logEntry)

    $logEntry An array of parameter

    Logs a message to the web debug toolbar.

  • removeObjects ()

  • __construct ()