From: Alan Knowles Date: Wed, 10 Sep 2014 04:18:44 +0000 (+0800) Subject: Preview.php X-Git-Url: http://git.roojs.org/?p=Pman.Builder;a=commitdiff_plain;h=77ac659f2b065f55deacdd1a89529ada37d8dc5b Preview.php --- 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