test pour TaskGateway

list-Gtw-Mdl
Nicolas FRANCO 2 years ago
parent f2841dc784
commit e2009994bd

@ -3,14 +3,19 @@
private int $id; private int $id;
private string $titre; private string $titre;
private string $description; private string $description;
private DateTime $dateDeb; private $dateDeb;
private DateTime $dateFin; private $dateFin; # $today = date("m.d.y")
private string $priorite; private string $priorite;
private string $idlist; // # id associating task to list private string $idlist; // # id associating task to list
function __construct($id, $titre, $description, $dateDeb, $dateFin, $priorite) { function __construct($id,$titre,$description,$priorite,$idl,$dateDeb="",$dateFin="") {
$this->titre = $titre; $this->set_id($id);
$this->description = $description; $this->set_titre($titre);
$this->set_description($description);
$this->set_priorite($priorite);
$this->set_dateDeb($dateDeb);
$this->set_dateFin($dateFin);
$this->set_idlist($idl);
} }
function get_id() { function get_id() {

Loading…
Cancel
Save