/[openfoncier]/branches/old-trunk/obj/architecte_frequent.class.php
ViewVC logotype

Diff of /branches/old-trunk/obj/architecte_frequent.class.php

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

revision 3473 by nhaye, Tue May 12 09:57:20 2015 UTC revision 3475 by nhaye, Wed May 13 07:42:20 2015 UTC
# Line 16  class architecte_frequent extends archit Line 16  class architecte_frequent extends archit
16          parent::setVal($form, $maj, $validation, $db);          parent::setVal($form, $maj, $validation, $db);
17          $form->setVal("frequent",true);          $form->setVal("frequent",true);
18      }      }
19        
20        function setType(&$form, $maj) {
21            //
22            parent::setType($form, $maj);
23            //
24            if ($maj >= 2) { //ajouter et modifier
25                $form->setType('frequent', 'hidden');
26            }
27            
28        }
29  }  }
30    
31  ?>  ?>

Legend:
Removed from v.3473  
changed lines
  Added in v.3475

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26