예제 #1
0
 function erase()
 {
     $bdd = new Connector();
     $bdd->Delete("promo", array(array("id_promo", "=", $this->id_promo)));
 }
예제 #2
0
 function erase()
 {
     $bdd = new Connector();
     $bdd->Delete("data", array(array("identifiant", "=", $this->identifiant)));
 }
예제 #3
0
 function erase()
 {
     $bdd = new Connector();
     $bdd->Delete("document", array(array("id", "=", $this->id)));
     unlink(__DIR__ . "/../../pdf/" . $this->fichier);
 }