|
|
|
@ -7,6 +7,7 @@
|
|
|
|
|
private $dateFin; # $today = date("m.d.y")
|
|
|
|
|
private string $priorite;
|
|
|
|
|
private string $idlist; // # id associating task to list
|
|
|
|
|
private bool $isDone; // # si la tache est complete
|
|
|
|
|
|
|
|
|
|
function __construct($id,$titre,$description,$priorite,$idl,$dateDeb="",$dateFin="") {
|
|
|
|
|
$this->set_id($id);
|
|
|
|
@ -74,5 +75,13 @@
|
|
|
|
|
$this->idList = $idList;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function get_isDone() {
|
|
|
|
|
return $this->isDone;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function set_isDone($isDone) {
|
|
|
|
|
$this->isDone = $isDone;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|