/[openfoncier]/branches/3.1.0-arles/obj/parcelle_lot.class.php
ViewVC logotype

Contents of /branches/3.1.0-arles/obj/parcelle_lot.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 588 - (show annotations)
Sun Nov 4 18:27:03 2012 UTC (12 years, 3 months ago) by fraynaud
File size: 805 byte(s)
creation de la branche arles sur la base d une version 3.1.0-b1



1 <?php
2 //$Id$
3 //gen openMairie le 28/09/2011 19:43
4 require_once ("../gen/obj/parcelle_lot.class.php");
5
6 class parcelle_lot extends parcelle_lot_gen {
7
8 function parcelle_lot($id,&$db,$debug) {
9 $this->constructeur($id,$db,$debug);
10 }// fin constructeur
11
12 function setvalF($val){
13 parent::setvalF($val);
14 // enlever les valeurs a ne pas saisir
15 unset ($this->valF['geom']);
16 }
17
18 function setType(&$form,$maj) {
19 parent::setType($form,$maj);
20 if ($maj < 2) { //ajouter et modifier
21 $form->setType('geom', 'hidden');
22 }
23 }
24
25 function setOnchange(&$form,$maj){
26 parent::setOnchange($form,$maj);
27 // mise en majuscule
28 $form->setOnchange("lotissement","this.value=this.value.toUpperCase()");
29 }
30
31 }// fin classe
32 ?>

Properties

Name Value
svn:executable *

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26