add stopOnEmpty and date parameters
[bdrem.git] / src / bdrem / Renderer / Html.php
index bb027d2eeca77ed9e32a8acd4a328255abf7bdf4..637a8389d1599bfb23b68f8670589284641cbdd5 100644 (file)
@@ -1,8 +1,15 @@
 <?php
 namespace bdrem;
 
-class Renderer_Html
+class Renderer_Html extends Renderer
 {
+    protected $httpContentType = 'application/xhtml+xml; charset=utf-8';
+
+    public function handleStopOnEmpty()
+    {
+        header('HTTP/1.0 204 No Content');
+    }
+
     public function render($arEvents)
     {
         $tr = new Renderer_HtmlTable();