Class yii\debug\panels\RequestPanel

Inheritanceyii\debug\panels\RequestPanel » yii\debug\Panel » yii\base\Component
Available since version2.0

Debugger panel that collects and displays request data.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$actions array Array of actions to add to the debug modules default controller. yii\debug\Panel
$data mixed Data associated with panel yii\debug\Panel
$displayVars array List of the PHP predefined variables that are allowed to be displayed in the request panel. yii\debug\panels\RequestPanel
$id string Panel unique identifier. yii\debug\Panel
$module yii\debug\Module yii\debug\Panel
$tag string Request data set identifier. yii\debug\Panel

Protected Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$error yii\debug\FlattenException|null Error while saving the panel yii\debug\Panel

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getFlashes() Getting flash messages without deleting them or touching deletion counters yii\debug\panels\RequestPanel
getLogMessages() Gets messages from log target and filters according to their categories and levels. yii\debug\Panel

Property Details

$displayVars public property (available since version 2.0.10)

List of the PHP predefined variables that are allowed to be displayed in the request panel. Note that a variable must be accessible via $GLOBALS. Otherwise it won't be displayed.

public array $displayVars = ['_SERVER''_GET''_POST''_COOKIE''_FILES''_SESSION']

Method Details

getDetail() public method

public string getDetail ( )
return string

Content that is displayed in debugger detail view

getFlashes() protected method

Getting flash messages without deleting them or touching deletion counters

protected array getFlashes ( )
return array

Flash messages (key => message).

getName() public method

public string getName ( )
return string

Name of the panel

getSummary() public method

public string getSummary ( )
return string

Content that is displayed at debug toolbar

save() public method

Saves data to be later used in debugger detail view.

This method is called on every page where debugger is enabled.

public mixed save ( )
return mixed

Data to be saved