summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-15 19:26:07 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-15 19:26:07 +0000
commit6b42b2a09c2031a0e3ac589589cbd1e2f545ac4c (patch)
tree4cf84fb42c2bc4b869f2e06c41ff49d0c2e171ca /lib/action.php
parent4a2aebe5cfab4a4b0388f98b296eac66be6e3396 (diff)
parentf0b4e7094c509bf5830586e3e05382e754adf3db (diff)
Merge branch 'uiredesign' of ../evan into uiredesign
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php19
1 files changed, 16 insertions, 3 deletions
diff --git a/lib/action.php b/lib/action.php
index 8694bf47c..30a3c8a03 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -58,8 +58,21 @@ class Action extends HTMLOutputter // lawsuit
{
var $args;
- function Action()
+ /**
+ * Constructor
+ *
+ * Just wraps the HTMLOutputter constructor.
+ *
+ * @param string $output URI to output to, default = stdout
+ * @param boolean $indent Whether to indent output, default true
+ *
+ * @see XMLOutputter::__construct
+ * @see HTMLOutputter::__construct
+ */
+
+ function __construct($output='php://output', $indent=true)
{
+ parent::__construct($output, $indent);
}
// For initializing members of the class
@@ -81,7 +94,7 @@ class Action extends HTMLOutputter // lawsuit
function showHead()
{
// XXX: attributes (profile?)
- $this->startElement('head');
+ $this->elementStart('head');
$this->showTitle();
$this->showStylesheets();
$this->showScripts();
@@ -89,7 +102,7 @@ class Action extends HTMLOutputter // lawsuit
$this->showFeeds();
$this->showDescription();
$this->extraHead();
- $this->elementElement('head');
+ $this->elementEnd('head');
}
function showTitle()