/[openfoncier]/trunk/obj/parcelle_lot.class.php
ViewVC logotype

Annotation of /trunk/obj/parcelle_lot.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 7996 - (hide annotations)
Fri Jul 20 17:12:33 2018 UTC (6 years, 6 months ago) by softime
File size: 800 byte(s)
* Merge de la branche d'intégration 4.7.0 vers le trunk

1 mbroquet 3730 <?php
2 fmichon 4481 /**
3     * DBFORM - 'parcelle_lot' - Surcharge gen.
4     *
5     * Ce script permet de définir la classe 'parcelle_lot'.
6     *
7     * @package openads
8     * @version SVN : $Id$
9     */
10 mbroquet 3730
11 fmichon 4481 require_once "../gen/obj/parcelle_lot.class.php";
12    
13 mbroquet 3730 class parcelle_lot extends parcelle_lot_gen {
14    
15     function setvalF($val){
16     parent::setvalF($val);
17     // enlever les valeurs a ne pas saisir
18     unset ($this->valF['geom']);
19     }
20    
21     function setType(&$form,$maj) {
22     parent::setType($form,$maj);
23     if ($maj < 2) { //ajouter et modifier
24     $form->setType('geom', 'hidden');
25     }
26     }
27    
28     function setOnchange(&$form,$maj){
29     parent::setOnchange($form,$maj);
30     // mise en majuscule
31     $form->setOnchange("lotissement","this.value=this.value.toUpperCase()");
32     }
33    
34 fmichon 4481 }
35    
36 softime 7996

Properties

Name Value
svn:keywords "Id"

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26