You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.5 KiB
35 lines
1.5 KiB
<?php |
|
use yii\bootstrap\Tabs; |
|
|
|
/** |
|
* @var yii\debug\panels\RequestPanel $panel |
|
*/ |
|
|
|
echo Tabs::widget([ |
|
'items' => [ |
|
[ |
|
'label' => 'Parameters', |
|
'content' => $this->render('panels/request/table', ['caption' => 'Routing', 'values' => ['Route' => $panel->data['route'], 'Action' => $panel->data['action'], 'Parameters' => $panel->data['actionParams']]]) |
|
. $this->render('panels/request/table', ['caption' => '$_GET', 'values' => $panel->data['GET']]) |
|
. $this->render('panels/request/table', ['caption' => '$_POST', 'values' => $panel->data['POST']]) |
|
. $this->render('panels/request/table', ['caption' => '$_FILES', 'values' => $panel->data['FILES']]) |
|
. $this->render('panels/request/table', ['caption' => '$_COOKIE', 'values' => $panel->data['COOKIE']]), |
|
'active' => true, |
|
], |
|
[ |
|
'label' => 'Headers', |
|
'content' => $this->render('panels/request/table', ['caption' => 'Request Headers', 'values' => $panel->data['requestHeaders']]) |
|
. $this->render('panels/request/table', ['caption' => 'Response Headers', 'values' => $panel->data['responseHeaders']]) |
|
], |
|
[ |
|
'label' => 'Session', |
|
'content' => $this->render('panels/request/table', ['caption' => '$_SESSION', 'values' => $panel->data['SESSION']]) |
|
. $this->render('panels/request/table', ['caption' => 'Flashes', 'values' => $panel->data['flashes']]) |
|
], |
|
[ |
|
'label' => '$_SERVER', |
|
'content' => $this->render('panels/request/table', ['caption' => '$_SERVER', 'values' => $panel->data['SERVER']]), |
|
], |
|
], |
|
]); |
|
?>
|
|
|