class Historique {
- protected $id, $installation, $alertes;
+ protected $id, $installation, $alertes, $versions;
/// CONSTRUCTEUR
- function __construct($id = null, $installation = null, $alertes = null) {
+ function __construct($id = null, $installation = null, $alertes = null, $versions = null) {
$this -> id = $id;
$this -> installation = $installation;
$this -> alertes = $alertes;
+ $this -> versions = $versions;
}
$array["id"] = $this -> id;
$array["installation"] = $this -> installation;
$array["alertes"] = $this -> alertes;
+ $array["versions"] = $this -> versions;
return json_encode($array);
}
public function getId() { return $this -> id; }
public function getInstallation() { return $this->installation; }
public function getAlertes() { return $this->alertes; }
+ public function getVersions() { return $this->versions; }
/// SETTERS
public function setId($id) { $this -> id = $id; }
public function setInstallation($installation) { $this->installation = $installation; }
public function setAlertes($alertes) { $this->alertes = $alertes; }
+ public function setVersions($versions) { $this->versions = $versions; }
}