diff --git a/class/animal.php b/class/animal.php index f6e847e3604601a90b344513a5f22b76657c0909..bd7c1ff85ad3c63efe44554452b7f76c3f7766f6 100644 --- a/class/animal.php +++ b/class/animal.php @@ -1,4 +1,5 @@ <?php + class Animal { private $nom; @@ -10,7 +11,6 @@ class Animal private $taille; private $code; - public function nom() { return $this->nom; @@ -51,24 +51,24 @@ class Animal $this->sterile = $sterile; } - public function date_naissance() + public function dateNaissance() { - return $this->date_naissance; + return $this->dateNaissance; } - public function setDate_naissance($date_naissance) + public function setDateNaissance($dateNaissance) { - $this->date_naissance = $date_naissance; + $this->dateNaissance = $dateNaissance; } - public function date_deces() + public function dateDeces() { - return $this->date_deces; + return $this->dateDeces; } - public function setDate_deces($date_deces) + public function setDateDeces($dateDeces) { - $this->date_deces = $date_deces; + $this->dateDeces = $dateDeces; } public function taille() @@ -90,5 +90,4 @@ class Animal { $this->code = $code; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/client.php b/class/client.php index 754dec7ac0271dfea96286b0800f5b4bb79e6ff2..482e91ced2036031a2f76241adc1568485ce3d98 100644 --- a/class/client.php +++ b/class/client.php @@ -1,4 +1,5 @@ <?php + class Client extends Personne { private $numTel; @@ -12,5 +13,4 @@ class Client extends Personne { $this->numTel = $numTel; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/employe.php b/class/employe.php index fd7498860ac3a2b4ed31070d238bb5fa26e1e905..c53f7271601a39c823189f9b5b0fcbb4bc59b30f 100644 --- a/class/employe.php +++ b/class/employe.php @@ -1,4 +1,5 @@ <?php + class Employe extends Personne { private $id; @@ -12,5 +13,4 @@ class Employe extends Personne { $this->id = $id; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/espece.php b/class/espece.php index 7fe5f7b20e09577621d42fdb120301ae00c318b2..9a02c8908b9e472a3ecfac32ecb741ef76621305 100644 --- a/class/espece.php +++ b/class/espece.php @@ -1,4 +1,5 @@ <?php + class Espece { private $nom; @@ -14,14 +15,13 @@ class Espece $this->nom = $nom; } - public function prix_consult() + public function prixConsult() { - return $this->prix_consult; + return $this->prixConsult; } - public function setPrix_consult($prix_consult) + public function setPrixConsult($prixConsult) { - $this->prix_consult = $prix_consult; + $this->prixConsult = $prixConsult; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/facture.php b/class/facture.php index 7db3638e1113f1fc58a6067f8550296748537eef..94251795f38a5a8c4d431fb31f5941428789d001 100644 --- a/class/facture.php +++ b/class/facture.php @@ -1,4 +1,5 @@ <?php + class Facture { private $id; @@ -7,7 +8,6 @@ class Facture private $moyen_paiement; private $prix_total; - public function id() { return $this->id; @@ -57,5 +57,4 @@ class Facture { $this->prix_total = $prix_total; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/ligne_facture.php b/class/ligneFacture.php similarity index 89% rename from class/ligne_facture.php rename to class/ligneFacture.php index a3f7b0ac89dc2032331a1334b826d380e7dc9da0..9f2bc364ff6e53cc99d3b6c99a4473f0701ab74b 100644 --- a/class/ligne_facture.php +++ b/class/ligneFacture.php @@ -1,11 +1,11 @@ <?php -class Ligne_facture + +class LigneFacture { private $num; private $quantite; private $remise; - public function num() { return $this->num; @@ -34,5 +34,4 @@ class Ligne_facture public function setRemise($remise) { $this->remise = $remise; - } -?> \ No newline at end of file + } \ No newline at end of file diff --git a/class/ordonnance.php b/class/ordonnance.php index 668273821795457325de196636cf42031e33cc02..c624ba0b308af951ffb75b5f7e1bb9ca62478b44 100644 --- a/class/ordonnance.php +++ b/class/ordonnance.php @@ -1,11 +1,11 @@ <?php + class Ordonnance { private $id; private $date_edition; private $prix; - public function id() { return $this->id; @@ -35,5 +35,4 @@ class Ordonnance { $this->prix = $prix; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/personne.php b/class/personne.php index 5cda681092e563e01e506a135c71f5588cafa09e..2d3b87761eccb2937603167512cad688a2256ce7 100644 --- a/class/personne.php +++ b/class/personne.php @@ -1,4 +1,5 @@ <?php + class Personne { private $nom; @@ -24,8 +25,6 @@ class Personne $this->prenom = $prenom; } } -?> - diff --git a/class/prestation.php b/class/prestation.php index 36a0029b840d0b0314f7a87063e7218f2fee2ab8..f0cc24618a0f4aa8d00f66e737e79d9d3b1738d3 100644 --- a/class/prestation.php +++ b/class/prestation.php @@ -1,4 +1,5 @@ <?php + class Prestation { private $id; @@ -6,7 +7,6 @@ class Prestation private $type; private $prix; - public function id() { return $this->id; @@ -46,5 +46,4 @@ class Prestation { $this->prix = $prix; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/race.php b/class/race.php index ffa338e6f3a3ea52b8fec740d8becae48de0b9b1..15e64c2713002dc67455965aacd3221f5b05674f 100644 --- a/class/race.php +++ b/class/race.php @@ -1,4 +1,5 @@ <?php + class Race { private $nom; @@ -23,5 +24,4 @@ class Race { $this->prix_intervention = $prix_intervention; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/rdv.php b/class/rdv.php index bad5fc722eb7e35303b80fa98216276bd53a8d71..8fc6b44cffe39f97e1f500b0d74e24da3275bdcf 100644 --- a/class/rdv.php +++ b/class/rdv.php @@ -1,4 +1,5 @@ <?php + class Rdv { private $id; @@ -35,5 +36,4 @@ class Rdv { $this->duree = $duree; } -} -?> \ No newline at end of file +} \ No newline at end of file diff --git a/class/veterinaire.php b/class/veterinaire.php index 85e6f023bfa481aa45767d0a987df348de792fbe..a59c817351edaa042e7943f216cef1b18c95a291 100644 --- a/class/veterinaire.php +++ b/class/veterinaire.php @@ -1,4 +1,5 @@ <?php + class Veterinaire extends Employe { private $idNational; @@ -12,5 +13,4 @@ class Veterinaire extends Employe { $this->idNational = $idNational; } -} -?> \ No newline at end of file +} \ No newline at end of file