Copyright 2012-2016 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
/** * Constructor. * * @param mixed $data Response data to send to browser. * @param mixed $tasks Task data to send to browser. */ public function __construct($data = null, $tasks = null) { parent::__construct($data); $this->tasks = $tasks; }
/** * @param string $type Content-type of the data. * @param string $charset Charset of the data (if of type text/*). */ public function __construct($data = null, $type = 'text/plain', $charset = 'UTF-8') { parent::__construct($data); $this->charset = $charset; $this->type = $type; }
/** */ public function __construct() { parent::__construct(null, true); }