/[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 9 by fraynaud, Mon Feb 14 17:51:36 2011 UTC revision 147 by fraynaud, Wed Sep 28 20:10:23 2011 UTC
# Line 8  class parcelle extends parcelle_gen { Line 8  class parcelle extends parcelle_gen {
8      function parcelle($id,&$db,$debug) {      function parcelle($id,&$db,$debug) {
9          $this->constructeur($id,$db,$debug);          $this->constructeur($id,$db,$debug);
10      }// fin constructeur      }// 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            // colone numerique
17            if(!is_numeric($val['surface'])) unset ($this->valF['surface']);
18        }
19    
20        function verifier($val,&$db,$DEBUG){
21            $this->correct=true;
22        }
23    
24    
25    
26            
27      function setTaille(&$form, $maj) {      function setTaille(&$form, $maj) {
28          $form->setTaille('parcelle',6);          $form->setTaille('parcelle',6);

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26