From f8f5c1e998c8319a6581a7e397516cfef96a1ef6 Mon Sep 17 00:00:00 2001 From: goujonpa <goujonpa@gmail.com> Date: Thu, 19 Jun 2014 01:26:27 +0200 Subject: [PATCH] presta --- class/prestation.php | 13 +++++++++++++ class/rdv.php | 4 +--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/class/prestation.php b/class/prestation.php index 4a0d0b6..527c9ba 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 1a5ca2c..9a66290 100644 --- a/class/rdv.php +++ b/class/rdv.php @@ -25,9 +25,7 @@ class Rdv extends Objet "duree" => array( "i" => 5 - ) - - ); + )); public function id() -- GitLab