From c0c975075ad957c883e542dfac86cdc931f89934 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Mon, 8 Jul 2013 10:53:54 -0400 Subject: [PATCH] finished debugger. --- .../yii/debug/controllers/DefaultController.php | 1 + framework/yii/debug/views/default/index.php | 32 +++++++++++++++++++--- framework/yii/debug/views/default/view.php | 17 ++++++++---- 3 files changed, 41 insertions(+), 9 deletions(-) diff --git a/framework/yii/debug/controllers/DefaultController.php b/framework/yii/debug/controllers/DefaultController.php index 22861cd..d4102ee 100644 --- a/framework/yii/debug/controllers/DefaultController.php +++ b/framework/yii/debug/controllers/DefaultController.php @@ -24,6 +24,7 @@ class DefaultController extends Controller public function actionIndex() { return $this->render('index', array( + 'manifest' => $this->getManifest(), )); } diff --git a/framework/yii/debug/views/default/index.php b/framework/yii/debug/views/default/index.php index bc85a46..c76d864 100644 --- a/framework/yii/debug/views/default/index.php +++ b/framework/yii/debug/views/default/index.php @@ -4,11 +4,7 @@ use yii\helpers\Html; /** * @var \yii\base\View $this - * @var array $meta - * @var string $tag * @var array $manifest - * @var \yii\debug\Panel[] $panels - * @var \yii\debug\Panel $activePanel */ $this->registerAssetBundle('yii/bootstrap/dropdown'); @@ -24,4 +20,32 @@ $this->title = 'Yii Debugger'; + +
+
+

Available Debug Data

+ + + + + + + + + + + + $data): ?> + + + + + + + + + +
TagTimeIPMethodURL
$tag)); ?>
+
+
diff --git a/framework/yii/debug/views/default/view.php b/framework/yii/debug/views/default/view.php index 48194eb..9775880 100644 --- a/framework/yii/debug/views/default/view.php +++ b/framework/yii/debug/views/default/view.php @@ -43,25 +43,32 @@ $this->title = 'Yii Debugger';
+ 'btn')); ?>
Debugging: - at + at by
getDetail(); ?>