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.
Автор: Michael Slusarz (slusarz@horde.org)
Пример #1
0
 /**
  * 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;
 }
Пример #2
0
 /**
  * @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;
 }
Пример #3
0
 /**
  */
 public function __construct()
 {
     parent::__construct(null, true);
 }