1 |
<?php |
2 |
/* $Id: consultation_retour.class.php,v 1.6 2010-07-28 10:58:48 fraynaud Exp $ |
3 |
*/ |
4 |
require_once ("consultation.class.php"); |
5 |
|
6 |
class consultation_retour extends consultation{ |
7 |
|
8 |
function consultation_retour($id,&$db,$DEBUG) { |
9 |
$this->constructeur($id,$db,$DEBUG); |
10 |
} // fin constructeur |
11 |
|
12 |
function setvalF($val) { |
13 |
parent::setvalF($val); |
14 |
unset ($this->valF['service']); |
15 |
unset ($this->valF['date_envoi']); |
16 |
unset ($this->valF['date_limite']); |
17 |
unset ($this->valF['dossier']); |
18 |
} |
19 |
|
20 |
function verifier($val,&$db,$DEBUG) { |
21 |
$this->correct=true; |
22 |
} |
23 |
|
24 |
|
25 |
function setType(&$form,$maj) { |
26 |
parent::setType($form,$maj); |
27 |
$form->setType('date_limite', 'hiddenstaticdate'); |
28 |
$form->setType('date_retour', 'date'); |
29 |
} |
30 |
|
31 |
} // fin de classe |
32 |
?> |