Skip to content
Snippets Groups Projects
Commit 99e520d8 authored by NF17 Etudiant's avatar NF17 Etudiant
Browse files

Merge branch 'master' of gitlab.utc.fr:nf17-camp-p14/clivi

parents 7279347f f92706cc
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,19 @@ class Produit extends Objet ...@@ -7,8 +7,19 @@ class Produit extends Objet
protected $prix; protected $prix;
protected $is_medicament; protected $is_medicament;
public $_specialFields = array( public $_specialFields = array(
"id" => array(
"i" => 1
),
"nom" => array(
"i" => 2
),
"is_medicament" => array( "is_medicament" => array(
"t" => "BoolField" "i" => 3,
"t" => "BoolField",
"label" => "Medicament"
),
"prix" => array(
"i" => 4,
)); ));
public function id() public function id()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment