sfWebDebugPanelView adds a panel to the web debug toolbar with information about the view layer.
Method Summary
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.
-
@see sfWebDebugPanel
-
@see sfWebDebugPanel
-
(string) getParameterDescription ($name, $parameter)
Browse code
Formats information about a parameter as HTML.
-
@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.
|