symfony API

sfWebDebugPanelView Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.4 API OpenSearch

Packages

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

sfWebDebugPanelView adds a panel to the web debug toolbar with information about the view layer.

Inheritence

sfWebDebugPanelView  <  sfWebDebugPanel

Method Summary

Methods inherited from sfWebDebugPanel

formatFileLink , formatSql , getPanelContent , getPanelTitle , getStatus , getTitle , getTitleUrl , getToggleableDebugStack , getToggler , setStatus , __construct

Method Details

  • (array) filterCoreParameters ($parameters) Browse code

    Removes parameters prefixed with "sf_" from the array.

  • (array) filterTemplateParameters ($event, $parameters) Browse code

    Stacks action and partial parameters in the template.filter_parameters event.

  • (string) formatFormAsHtml ($name, $form) Browse code

    Formats form information as HTML.

  • (string) formatFormFieldSchemaAsHtml ($fieldSchema, $nameFormat) Browse code

    Formats form field schema information as HTML.

  • (string) formatObjectAsHtml ($name, $parameter) Browse code

    Formats object information as HTML.

  • (string) formatParameterAsHtml ($name, $parameter) Browse code

    Formats information about a parameter as HTML.

  • (string|null) getLastTemplate ($class) Browse code

    $class Name of the rendering view class

    Returns the path to the last template rendered.

  • getPanelContent () Browse code

    @see sfWebDebugPanel

  • getPanelTitle () Browse code

    @see sfWebDebugPanel

  • (string) getParameterDescription ($name, $parameter) Browse code

    Formats information about a parameter as HTML.

  • getTitle () Browse code

    @see sfWebDebugPanel

  • listenForChangeAction ($event) Browse code

    Resets the parameter collections.

  • (string) renderTemplateInformation ($file, $parameters, $label) Browse code

    $file The template file path

    Renders information about the passed template and its parameters.


    The rendered HTML for each parameter is filtered through the "debug.web.view.filter_parameter_html" event.

  • (string) shortenTemplatePath ($path) Browse code

    Shortens an action's template path.

  • (string) varExport ($value) Browse code

    Returns a string representation of a value.

  • __construct ($webDebug) Browse code

    $webDebug The web debug toolbar instance

    Constructor.