9 |
$this->constructeur($id,$db,$debug); |
$this->constructeur($id,$db,$debug); |
10 |
}// fin constructeur |
}// fin constructeur |
11 |
|
|
|
function setvalF($val){ |
|
|
parent::setvalF($val); |
|
|
if(!is_numeric($val['delai'])) unset ($this->valF['delai']); |
|
|
if(!is_numeric($val['longueur_champ'])) unset ($this->valF['longueur_champ']); |
|
|
} |
|
|
|
|
12 |
function setType(&$form,$maj) { |
function setType(&$form,$maj) { |
13 |
parent :: setType($form,$maj); |
parent :: setType($form,$maj); |
14 |
if ($maj < 2) { //ajouter et modifier |
if ($maj < 2) { //ajouter et modifier |
18 |
} |
} |
19 |
} |
} |
20 |
|
|
|
function setMax(&$form,$maj){ |
|
|
parent :: setMax($form,$maj); |
|
|
$form->setMax('libelle', 50); |
|
|
$form->setMax('valeur_autorisee', 50); |
|
|
} |
|
|
|
|
|
function setTaille(&$form,$maj){ |
|
|
parent :: setTaille($form,$maj); |
|
|
$form->setTaille('libelle', 50); |
|
|
$form->setTaille('valeur_autorisee', 50); |
|
|
} |
|
21 |
|
|
22 |
function setSelect(&$form, $maj,&$db,$debug) { |
function setSelect(&$form, $maj,&$db,$debug) { |
23 |
parent:: setSelect($form, $maj,$db,$debug) ; |
parent:: setSelect($form, $maj,$db,$debug) ; |