You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ProjetPHP/business/ListTask.php

45 lines
892 B

<?php
class ListTask{
private int $id;
private string $nom;
private array $taches;
function __construct($id, $taches, $owner) {
$this->id = $id;
$this->taches = $taches;
$this->owner = $owner;
}
function get_id() {
return $this->id;
}
function set_id($id) {
$this->id = $id;
}
function get_nom() {
return $this->nom;
}
function set_nom($nom) {
$this->nom = $nom;
}
function get_taches() {
return $this->taches;
}
function set_taches($taches) {
$this->taches = $taches;
}
function get_owner() {
return $this->owner;
}
function set_owner($owner) {
$this->owner = $owner;
}
}
?>