1 |
<?php |
<?php |
2 |
//$Id$ |
//$Id$ |
3 |
//gen openMairie le 28/03/2012 15:35 |
//gen openMairie le 28/06/2012 16:26 |
4 |
require_once ("../obj/om_dbform.class.php"); |
require_once ("../obj/om_dbform.class.php"); |
5 |
|
|
6 |
class om_utilisateur_gen extends om_dbform { |
class om_utilisateur_gen extends om_dbform { |
10 |
var $retourformulaire; |
var $retourformulaire; |
11 |
|
|
12 |
function setvalF($val) { |
function setvalF($val) { |
13 |
//affectation valeur formulaire |
//affectation valeur formulaire |
14 |
$this->valF['om_utilisateur'] = $val['om_utilisateur']; |
if(!is_numeric($val['om_utilisateur'])) |
15 |
|
unset($this->valF['om_utilisateur']); |
16 |
|
else |
17 |
|
$this->valF['om_utilisateur'] = $val['om_utilisateur']; |
18 |
$this->valF['nom'] = $val['nom']; |
$this->valF['nom'] = $val['nom']; |
19 |
$this->valF['email'] = $val['email']; |
$this->valF['email'] = $val['email']; |
20 |
$this->valF['login'] = $val['login']; |
$this->valF['login'] = $val['login']; |
21 |
$this->valF['pwd'] = $val['pwd']; |
$this->valF['pwd'] = $val['pwd']; |
22 |
$this->valF['om_profil'] = $val['om_profil']; |
$this->valF['om_profil'] = $val['om_profil']; |
23 |
$this->valF['om_collectivite'] = $val['om_collectivite']; |
if(!is_numeric($val['om_collectivite'])) |
24 |
|
unset($this->valF['om_collectivite']); |
25 |
|
else |
26 |
|
$this->valF['om_collectivite'] = $val['om_collectivite']; |
27 |
$this->valF['om_type'] = $val['om_type']; |
$this->valF['om_type'] = $val['om_type']; |
28 |
$this->valF['instructeur'] = $val['instructeur']; |
$this->valF['instructeur'] = $val['instructeur']; |
29 |
$this->valF['telephone'] = $val['telephone']; |
$this->valF['telephone'] = $val['telephone']; |