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

Contents of /trunk/obj/parametre.class.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 407 - (show annotations)
Thu Sep 20 16:39:06 2012 UTC (12 years, 4 months ago) by nhaye
File size: 853 byte(s)
Régénération et suppression de surcharges suite à la maj OM 4.3.0

1 <?php
2 //$Id$
3 //gen openMairie le 04/10/2011 17:45
4 require_once ("../gen/obj/parametre.class.php");
5
6 class parametre extends parametre_gen {
7
8 function parametre($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) { //ajouter et modifier
15 $form->setType('sitadel', 'checkbox');
16 $form->setType('actif', 'checkbox');
17 $form->setType('type_champ', 'select');
18 }
19 }
20
21
22 function setSelect(&$form, $maj,&$db,$debug) {
23 parent:: setSelect($form, $maj,$db,$debug) ;
24 $contenu=array();
25 $contenu[0]=array('text','numeric','select');
26 $contenu[1]=array('text','numeric','select');
27 $form->setSelect("type_champ",$contenu);
28 }
29 }// fin classe
30 ?>

Properties

Name Value
svn:executable *

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26