/[openfoncier]/trunk/gen/obj/om_utilisateur.class.php
ViewVC logotype

Diff of /trunk/gen/obj/om_utilisateur.class.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 341 by atreal, Wed Mar 28 13:52:33 2012 UTC revision 342 by fraynaud, Mon Jul 2 09:36:56 2012 UTC
# Line 1  Line 1 
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 {
# Line 10  class om_utilisateur_gen extends om_dbfo Line 10  class om_utilisateur_gen extends om_dbfo
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'];

Legend:
Removed from v.341  
changed lines
  Added in v.342

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26