summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-02-26 19:56:31 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-02-26 19:56:31 +0000
commit7af6f5392be2b847c4c026f2632fc1c900338b81 (patch)
tree42c5eaefcc622a1f420e615d4c4fabc342f1a7db /lib
parent240ea969214fe3d18c96d0f9ba1d2b5af63aa54d (diff)
Hook for setting document content type, charset, language, DOCTYPE and
html element properties
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index dd7dd44e7..9c71a153d 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -93,7 +93,10 @@ class Action extends HTMLOutputter // lawsuit
*/
function showPage()
{
- $this->startHTML();
+ if (Event::handle('StartShowHTML', array($this))) {
+ $this->startHTML();
+ Event::handle('EndShowHTML', array($this));
+ }
$this->showHead();
$this->showBody();
$this->endHTML();