From 77ac659f2b065f55deacdd1a89529ada37d8dc5b Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 10 Sep 2014 12:18:44 +0800 Subject: [PATCH] Preview.php --- Preview.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Preview.php b/Preview.php index 45dc102..53e79a7 100644 --- a/Preview.php +++ b/Preview.php @@ -54,6 +54,10 @@ class Pman_Builder_Preview extends Pman_Cms_Preview function outputBody() { + + if ($this->timer) { + $this->timer->setMarker(__CLASS__ . '::outputBody - start'); + } $ff = HTML_FlexyFramework::get(); @@ -82,7 +86,9 @@ class Pman_Builder_Preview extends Pman_Cms_Preview $template_engine->elements = $this->elements; $template_engine->outputObject($this,$this->elements); - + if ($this->timer) { + $this->timer->setMarker(__CLASS__ . '::outputBody - end'); + } } } \ No newline at end of file -- 2.39.2