5 |
|
|
6 |
class nature extends nature_gen { |
class nature extends nature_gen { |
7 |
|
|
8 |
function nature($id,&$db,$debug) { |
function nature($id,&$db,$debug) { |
9 |
$this->constructeur($id,$db,$debug); |
$this->constructeur($id,$db,$debug); |
10 |
}// fin constructeur |
}// fin constructeur |
11 |
|
|
12 |
|
function setTaille(&$form, $maj) { |
13 |
|
$form->setTaille('nature',2); |
14 |
|
$form->setTaille('libelle',30); |
15 |
|
} |
16 |
|
|
17 |
|
function setMax(&$form, $maj) { |
18 |
|
$form->setMax('nature',2); |
19 |
|
$form->setMax('libelle',30); |
20 |
|
} |
21 |
}// fin classe |
}// fin classe |
22 |
?> |
?> |