8 |
function om_sig_wms($id,&$db,$debug) { |
function om_sig_wms($id,&$db,$debug) { |
9 |
$this->constructeur($id,$db,$debug); |
$this->constructeur($id,$db,$debug); |
10 |
}// fin constructeur |
}// fin constructeur |
11 |
//-- AB-DEB 2012-05-11 - divers |
//-- AB-DEB 2012-05-11 - divers |
|
function verifier($val,&$db,$DEBUG) { |
|
|
parent::verifier($val,$db,$DEBUG); |
|
|
if ($this->valF['id']==""){ |
|
|
$this->msg= $this->msg." id obligatoire"; |
|
|
$this->correct=False; |
|
|
} |
|
|
if ($this->valF['libelle']==""){ |
|
|
$this->msg= $this->msg." libelle obligatoire"; |
|
|
$this->correct=False; |
|
|
} |
|
|
if ($this->valF['chemin']==""){ |
|
|
$this->msg= $this->msg." chemin obligatoire"; |
|
|
$this->correct=False; |
|
|
} |
|
|
if ($this->valF['couches']==""){ |
|
|
$this->msg= $this->msg." couches obligatoire"; |
|
|
$this->correct=False; |
|
|
} |
|
|
|
|
|
} // fin verifier [end verify] |
|
12 |
|
|
13 |
function setTaille(&$form,$maj) { |
function setTaille(&$form,$maj) { |
14 |
parent::setTaille($form,$maj); |
parent::setTaille($form,$maj); |
15 |
//taille des champs affiches (text) |
//taille des champs affiches (text) |
16 |
$form->setTaille('om_sig_wms',4); |
$form->setTaille('om_sig_wms',4); |
17 |
$form->setTaille('om_collectivite',4); |
$form->setTaille('om_collectivite',4); |
18 |
$form->setTaille('id',20); |
$form->setTaille('id',20); |
19 |
$form->setTaille('libelle',30); |
$form->setTaille('libelle',30); |
20 |
$form->setTaille('chemin',150); |
$form->setTaille('chemin',150); |
21 |
$form->setTaille('couches',150); |
$form->setTaille('couches',150); |
22 |
} |
} |
|
function setMax(&$form,$maj) { |
|
|
parent::setMax($form,$maj); |
|
|
$form->setMax('om_sig_wms',4); |
|
|
$form->setMax('om_collectivite',4); |
|
|
$form->setMax('id',50); |
|
|
$form->setMax('libelle',50); |
|
|
$form->setMax('chemin',255); |
|
|
$form->setMax('couches',255); |
|
|
} |
|
23 |
|
|
24 |
function setLib(&$form,$maj) { |
function setMax(&$form,$maj) { |
25 |
parent::setLib($form,$maj); |
parent::setMax($form,$maj); |
26 |
//libelle des champs |
$form->setMax('om_sig_wms',4); |
27 |
$form->setLib('libelle',_('libellé : ')); |
$form->setMax('om_collectivite',4); |
28 |
$form->setLib('chemin',_('chemin (url) : ')); |
$form->setMax('id',50); |
29 |
$form->setLib('couches',_('couches (séparées par ,) : ')); |
$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 |
//-- AB-FIN 2012-05-11 - divers |
42 |
}// fin classe |
}// fin classe |
43 |
?> |
?> |