diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 14:21:47 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 14:21:47 -0500 |
commit | ff901332d2a64766472921d3d3742dc913540508 (patch) | |
tree | 60b450710e7e7f1471949fbdf2d3351bed53bef9 /lib/action.php | |
parent | 802863907337d6e1b463c28390499017b1d4e5f1 (diff) |
Fix the constructor for Action
Also, fix the startXML() method
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/action.php b/lib/action.php index 8694bf47c..4aff4264d 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 |