diff --git a/class/prestation.php b/class/prestation.php index 4a0d0b6d805509808539a0b7603bea4583355bad..527c9ba792a65c0f431db75af5523d8785b1016a 100644 --- a/class/prestation.php +++ b/class/prestation.php @@ -6,6 +6,19 @@ class Prestation extends Objet protected $description; protected $type; protected $prix; + public $_specialFields = array( + "description" => array( + "i" => 3 + ), + "type" => array( + "i" => 2 + ) + "id" => array( + "i" => 1 + ) + "prix" => array( + "i" => 4 + )); public function id() { diff --git a/class/rdv.php b/class/rdv.php index 1a5ca2c6062f82ef029affa298719f70f3c4b37d..9a6629072a257f2d9e0dad4eb6d917751db3c0d1 100644 --- a/class/rdv.php +++ b/class/rdv.php @@ -25,9 +25,7 @@ class Rdv extends Objet "duree" => array( "i" => 5 - ) - - ); + )); public function id()