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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 339 - (hide annotations)
Wed Jun 27 11:04:48 2012 UTC (12 years, 7 months ago) by fraynaud
File size: 1714 byte(s)
om_sig_map


1 fraynaud 339 <?php
2     //$Id$
3     //gen openMairie le 27/06/2012 11:36
4     require_once ("../gen/obj/om_sig_map_comp.class.php");
5    
6     class om_sig_map_comp extends om_sig_map_comp_gen {
7    
8     function om_sig_map_comp($id,&$db,$debug) {
9     $this->constructeur($id,$db,$debug);
10     }// fin constructeur
11    
12     function setType(&$form,$maj) {
13     parent::setType($form,$maj);
14     if($maj<2){
15     $form->setType('actif', 'checkbox');
16     $form->setType('comp_maj','checkbox');
17     $form->setType('type_geometrie','select');
18     }
19     }
20     function setTaille(&$form,$maj) {
21     parent::setTaille($form,$maj);
22     //taille des champs affiches (text)
23     $form->setTaille('libelle',50);
24     $form->setTaille('ordre',3);
25     $form->setTaille('comp_table_update',30);
26     $form->setTaille('comp_champ',30);
27     $form->setTaille('type_geometrie',30);
28     $form->setTaille('comp_maj',1);
29     }
30    
31     function setMax(&$form,$maj) {
32     parent::setMax($form,$maj);
33     $form->setMax('libelle',50);
34     $form->setMax('comp_table_update',30);
35     $form->setMax('comp_champ',30);
36     }
37     function setSelect(&$form, $maj,&$db,$debug) {
38     parent::setSelect($form, $maj,$db,$debug);
39     if($maj<2){
40     if(file_exists ("../dyn/var_sig.inc"))
41     include ("../dyn/var_sig.inc");
42     $form->setSelect("type_geometrie",$type_geometrie);
43     }// fin maj
44     }
45    
46     function setLib(&$form,$maj) {
47     parent::setLib($form,$maj);
48     //libelle des champs
49     $form->setLib('libelle',_('Titre : '));
50     $form->setLib('actif',_('Actif : '));
51     $form->setLib('ordre',_('Ordre d\'affichage : '));
52     $form->setLib('comp_maj',_('Mis à jour : '));
53     $form->setLib('type_geometrie',_('Type de géométrie : '));
54     $form->setLib('comp_table_update',_('Table :'));
55     $form->setLib('comp_champ',_('Champ :'));
56     }
57    
58    
59     }// fin classe
60     ?>

Properties

Name Value
svn:executable *

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26