summaryrefslogtreecommitdiff
path: root/lib/htmloutputter.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-22 03:13:11 -0800
committerZach Copley <zach@controlyourself.ca>2009-01-22 03:13:11 -0800
commit8990aaebb4a52d38ba6b58338f19366509e0b37a (patch)
tree39ce9c4eb64dded842e1055586c1789981f2eee2 /lib/htmloutputter.php
parent914b097910b0562ad9d0fcb1e2841628a8fc23f9 (diff)
New HTTP error message classes for uiredesign
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r--lib/htmloutputter.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php
index 1e164933c..f9245414f 100644
--- a/lib/htmloutputter.php
+++ b/lib/htmloutputter.php
@@ -108,6 +108,8 @@ class HTMLOutputter extends XMLOutputter
}
header('Content-Type: '.$type);
+
+ $this->extraHeaders();
$this->startXML('html',
'-//W3C//DTD XHTML 1.0 Strict//EN',
@@ -132,6 +134,16 @@ class HTMLOutputter extends XMLOutputter
$this->elementEnd('html');
$this->endXML();
}
+
+ /**
+ * To specify additional HTTP headers for the action
+ *
+ * @return void
+ */
+ function extraHeaders()
+ {
+ // Needs to be overloaded
+ }
/**
* Output an HTML text input element