PHP Class Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController

Author: Fabien Potencier ([email protected])
Inheritance: extends Symfony\Component\DependencyInjection\ContainerAware
Exibir arquivo Open project: pmjones/php-framework-benchmarks Class Usage Examples

Public Methods

Method Description
exportAction ( string $token ) : Response Exports data for a given token.
importAction ( ) : Response Imports token data.
panelAction ( string $token ) : Response Renders a profiler panel for the given token.
purgeAction ( ) : Response Purges all tokens.
searchAction ( ) : Response Narrow the search bar.
searchBarAction ( ) : Response Renders the profiler search bar.
searchResultsAction ( string $token ) : Response Search results.
toolbarAction ( string $token, string $position = null ) : Response Renders the Web Debug Toolbar.

Protected Methods

Method Description
getTemplateName ( $profiler, $panel )
getTemplateNames ( $profiler )
getTemplates ( $profiler )

Method Details

exportAction() public method

Exports data for a given token.
public exportAction ( string $token ) : Response
$token string The profiler token
return Symfony\Component\HttpFoundation\Response A Response instance

getTemplateName() protected method

protected getTemplateName ( $profiler, $panel )

getTemplateNames() protected method

protected getTemplateNames ( $profiler )

getTemplates() protected method

protected getTemplates ( $profiler )

importAction() public method

Imports token data.
public importAction ( ) : Response
return Symfony\Component\HttpFoundation\Response A Response instance

panelAction() public method

Renders a profiler panel for the given token.
public panelAction ( string $token ) : Response
$token string The profiler token
return Symfony\Component\HttpFoundation\Response A Response instance

purgeAction() public method

Purges all tokens.
public purgeAction ( ) : Response
return Symfony\Component\HttpFoundation\Response A Response instance

searchAction() public method

Narrow the search bar.
public searchAction ( ) : Response
return Symfony\Component\HttpFoundation\Response A Response instance

searchBarAction() public method

Renders the profiler search bar.
public searchBarAction ( ) : Response
return Symfony\Component\HttpFoundation\Response A Response instance

searchResultsAction() public method

Search results.
public searchResultsAction ( string $token ) : Response
$token string The token
return Symfony\Component\HttpFoundation\Response A Response instance

toolbarAction() public method

Renders the Web Debug Toolbar.
public toolbarAction ( string $token, string $position = null ) : Response
$token string The profiler token
$position string The toolbar position (bottom, normal, or null -- automatically guessed)
return Symfony\Component\HttpFoundation\Response A Response instance