/[openfoncier]/branches/3.14.x/obj/architecte.class.php
ViewVC logotype

Annotation of /branches/3.14.x/obj/architecte.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 418 - (hide annotations)
Fri Sep 21 14:50:52 2012 UTC (12 years, 4 months ago) by nhaye
Original Path: trunk/obj/architecte.class.php
File size: 904 byte(s)
Régénération suite à la migration d'OM 4.3.0

1 fraynaud 3 <?php
2     //$Id$
3     //gen openMairie le 10/02/2011 20:30
4     require_once ("../gen/obj/architecte.class.php");
5    
6     class architecte extends architecte_gen {
7    
8 fraynaud 4 function architecte($id,&$db,$debug) {
9     $this->constructeur($id,$db,$debug);
10     }// fin constructeur
11 fraynaud 3
12 fraynaud 4 function setType(&$form,$maj) {
13     parent::setType($form,$maj);
14     if ($maj < 2) { //ajouter et modifier [add and modify]
15     $form->setType('email', 'mail');
16     }
17     }
18    
19     function setOnchange(&$form,$maj){
20     parent::setOnchange($form,$maj);
21     // mise en majuscule [capital letter]
22     $form->setOnchange("nom","this.value=this.value.toUpperCase()");
23     $form->setOnchange("prenom","this.value=this.value.toUpperCase()");
24     $form->setOnchange("ville","this.value=this.value.toUpperCase()");
25     $form->setOnchange("pays","this.value=this.value.toUpperCase()");
26     }
27    
28 fraynaud 3 }// fin classe
29     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26