1 |
<?php |
2 |
//$Id$ |
3 |
//gen openMairie le 04/10/2011 15:15 |
4 |
require_once ("../gen/obj/statistique.class.php"); |
5 |
|
6 |
class statistique extends statistique_gen { |
7 |
|
8 |
function statistique($id,&$db,$debug) { |
9 |
$this->constructeur($id,$db,$debug); |
10 |
}// fin constructeur |
11 |
|
12 |
function setType(&$form,$maj) { |
13 |
parent :: setType($form,$maj); |
14 |
if ($maj < 2) { //ajouter et modifier |
15 |
$form->setType('dossier', 'hiddenstatic'); |
16 |
} |
17 |
} |
18 |
|
19 |
function setValsousformulaire(&$form,$maj,$validation,$idxformulaire,$retourformulaire,$typeformulaire){ |
20 |
if ($validation==0) { |
21 |
if ($maj == 0){ |
22 |
$form->setVal("dossier", $idxformulaire); |
23 |
} |
24 |
} |
25 |
} |
26 |
|
27 |
}// fin classe |
28 |
?> |