function __construct($idOeuvre, $titreOeuvre, $titreVariante, $technique, $techniqueAng, $noInternetOeuvre, $description, $validationOeuvre, $idArrondissement, $nomMateriaux, $nomMateriauxAng, $idCategorie, $idSousCat, $adresse, $batiment, $parc, $latitude, $longitude) { if (!isset(self::$database)) { self::$database = new PdoBDD(); } $this->idOeuvre = $idOeuvre; $this->titreOeuvre = $titreOeuvre; $this->titreVariante = $titreVariante; $this->technique = $technique; $this->techniqueAng = $techniqueAng; $this->noInternetOeuvre = $noInternetOeuvre; $this->description = $description; $this->validationOeuvre = $validationOeuvre; $this->idArrondissement = $idArrondissement; $this->nomMateriaux = $nomMateriaux; $this->nomMateriauxAng = $nomMateriauxAng; $this->idCategorie = $idCategorie; $this->idSousCat = $idSousCat; $this->adresse = $adresse; $this->batiment = $batiment; $this->parc = $parc; $this->latitude = $latitude; $this->longitude = $longitude; }