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

Diff of /trunk/obj/parcelle.class.php

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

revision 147 by fraynaud, Wed Sep 28 20:10:23 2011 UTC revision 152 by fraynaud, Thu Sep 29 15:23:51 2011 UTC
# Line 21  class parcelle extends parcelle_gen { Line 21  class parcelle extends parcelle_gen {
21          $this->correct=true;          $this->correct=true;
22      }      }
23    
24        function setType(&$form,$maj) {
25            parent::setType($form,$maj);
26            if ($maj < 2) { //ajouter et modifier
27                $form->setType('geom', 'hidden');
28                $form->setType('section', 'hidden');
29                $form->setType('commune', 'hidden');
30            }
31        }
32    
33            
34      function setTaille(&$form, $maj) {      function setTaille(&$form, $maj) {

Legend:
Removed from v.147  
changed lines
  Added in v.152

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26