public __construct ( mixed $data = null, mixed $tasks = null ) | ||
$data | mixed | Response data to send to browser. |
$tasks | mixed | Task data to send to browser. |
public function __construct($data = null, $tasks = null)
{
parent::__construct($data);
$this->tasks = $tasks;
}
/** * Constructor. * * @param mixed $data Response data to send to browser. For this class, * this can be the URL to redirect to. If null, will * reload the current URL of the browser. */ public function __construct($data = null) { parent::__construct($data); }