PHP Class Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
getTemplateName ( $profiler, $panel )
getTemplateNames ( $profiler )
getTemplates ( $profiler )

Method Details

exportAction() public méthode

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

getTemplateName() protected méthode

protected getTemplateName ( $profiler, $panel )

getTemplateNames() protected méthode

protected getTemplateNames ( $profiler )

getTemplates() protected méthode

protected getTemplates ( $profiler )

importAction() public méthode

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

panelAction() public méthode

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

purgeAction() public méthode

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

searchAction() public méthode

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

searchBarAction() public méthode

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

searchResultsAction() public méthode

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

toolbarAction() public méthode

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)
Résultat Symfony\Component\HttpFoundation\Response A Response instance