symfony API

sfWebDebug Class

« Back to API menu

action

addon

autoload

cache

command

config

controller

creole

database

debug

exception

filter

form

generator

helper

i18n

log

plugin

propel

request

response

routing

storage

task

test

user

util

validator

view

widget

You are currently browsing the symfony API for the 1.1 version. Switch to:

sfWebDebug creates debug information for easy debugging in the browser.

Method Summary

Method Details

  • (string) getCurrentConfigAsHtml ()

    Returns the current configuration as HTML.

    returns The current configuration as HTML

  • __construct ($dispatcher)

  • removeObjects ($values)

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

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

    Converts an array to HTML.

    returns An HTML string

  • (string) getPriority ($value)

    $value The priority value

    Converts a priority value to a string.

    returns The priority as a string

  • (string) formatLogLine ($logLine)

    $logLine The log line to format

    Formats a log line.

    returns The formatted log lin

  • loadHelpers ()

    Loads helpers needed for 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 ($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