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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 173 - (hide annotations)
Wed Oct 5 05:44:51 2011 UTC (13 years, 4 months ago) by fraynaud
File size: 668 byte(s)
correction de bugs : supprimer consultation et libelle om_parametre



1 fraynaud 3 <?php
2     //$Id$
3     //gen openMairie le 15/10/2010 15:54
4     require_once ("../gen/obj/om_parametre.class.php");
5    
6     class om_parametre extends om_parametre_gen {
7    
8     function om_parametre($id,&$db,$debug) {
9     $this->constructeur($id,$db,$debug);
10     }// fin constructeur
11    
12     function setVal(&$form,$maj){
13     if ($maj == 0)
14     $form->setVal('om_collectivite', $_SESSION['collectivite']);
15     }
16    
17 fraynaud 173
18 fraynaud 154 function setTaille(&$form, $maj) {
19 fraynaud 173 $form->setTaille('libelle',20);
20 fraynaud 154 $form->setTaille('valeur',50);
21     }
22    
23     function setMax(&$form, $maj) {
24 fraynaud 173 $form->setMax('libelle',20);
25 fraynaud 154 $form->setMax('valeur',50);
26     }
27    
28 fraynaud 3 }// fin classe
29     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26