symfony API

sfWebDebugPanel Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.3 API OpenSearch

Packages

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

sfWebDebugPanel represents a web debug panel.

Method Summary

  • string formatFileLink($file, $line, $text)
    Formats a file link.
  • string formatSql($sql)
    Format a SQL string with some colors on SQL keywords to make it more readable.
  • string getPanelContent()
    Gets the panel HTML content.
  • string getPanelTitle()
    Gets the title of the panel.
  • integer getStatus()
    Returns the current status.
  • string getTitle()
    Gets the text for the link.
  • string getTitleUrl()
    Gets the link URL for the link.
  • string getToggleableDebugStack($debugStack)
    Returns a toggleable presentation of a debug stack.
  • string getToggler($element, $title)
    Returns a toggler element.
  • setStatus($status)
    Sets the current panel's status.
  • __construct($webDebug)
    Constructor.

Method Details

  • (string) formatFileLink ($file, $line, $text) Browse code

    $file A file path or class name
    $text Text to use for the link

    Formats a file link.

  • (string) formatSql ($sql) Browse code

    $sql SQL string to format

    Format a SQL string with some colors on SQL keywords to make it more readable.

    returns $newSql The new formatted SQL string

  • (string) getPanelContent () Browse code

    Gets the panel HTML content.

    returns The panel HTML content

  • (string) getPanelTitle () Browse code

    Gets the title of the panel.

    returns The panel title

  • (integer) getStatus () Browse code

    Returns the current status.

    returns A {@link sfLogger} priority constant

  • (string) getTitle () Browse code

    Gets the text for the link.

    returns The link text

  • (string) getTitleUrl () Browse code

    Gets the link URL for the link.

    returns The URL link

  • (string) getToggleableDebugStack ($debugStack) Browse code

    Returns a toggleable presentation of a debug stack.

  • (string) getToggler ($element, $title) Browse code

    $element The value of an element's DOM id attribute
    $title A title attribute

    Returns a toggler element.

  • setStatus ($status) Browse code

    $status A {@link sfLogger} priority constant

    Sets the current panel's status.

  • __construct ($webDebug) Browse code

    $webDebug The web debug toolbar instance

    Constructor.