Preview.php
authorAlan Knowles <alan@roojs.com>
Wed, 10 Sep 2014 04:18:44 +0000 (12:18 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 10 Sep 2014 04:18:44 +0000 (12:18 +0800)
Preview.php

index 45dc102..53e79a7 100644 (file)
@@ -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