1 |
<?php |
2 |
//$Id$ |
3 |
//gen openMairie le 11/05/2012 14:50 |
4 |
require_once ("../gen/obj/om_sig_wms.class.php"); |
5 |
|
6 |
class om_sig_wms extends om_sig_wms_gen { |
7 |
|
8 |
function om_sig_wms($id,&$db,$debug) { |
9 |
$this->constructeur($id,$db,$debug); |
10 |
}// fin constructeur |
11 |
//-- AB-DEB 2012-05-11 - divers |
12 |
|
13 |
function setTaille(&$form,$maj) { |
14 |
parent::setTaille($form,$maj); |
15 |
//taille des champs affiches (text) |
16 |
$form->setTaille('om_sig_wms',4); |
17 |
$form->setTaille('om_collectivite',4); |
18 |
$form->setTaille('id',20); |
19 |
$form->setTaille('libelle',30); |
20 |
$form->setTaille('chemin',150); |
21 |
$form->setTaille('couches',150); |
22 |
} |
23 |
|
24 |
function setMax(&$form,$maj) { |
25 |
parent::setMax($form,$maj); |
26 |
$form->setMax('om_sig_wms',4); |
27 |
$form->setMax('om_collectivite',4); |
28 |
$form->setMax('id',50); |
29 |
$form->setMax('libelle',50); |
30 |
$form->setMax('chemin',255); |
31 |
$form->setMax('couches',255); |
32 |
} |
33 |
|
34 |
function setLib(&$form,$maj) { |
35 |
parent::setLib($form,$maj); |
36 |
//libelle des champs |
37 |
$form->setLib('libelle',_('libelle : ')); |
38 |
$form->setLib('chemin',_('chemin (url) : ')); |
39 |
$form->setLib('couches',_('couches (separees par ,) : ')); |
40 |
} |
41 |
//-- AB-FIN 2012-05-11 - divers |
42 |
}// fin classe |
43 |
?> |