9 |
$this->constructeur($id,$db,$debug); |
$this->constructeur($id,$db,$debug); |
10 |
}// fin constructeur |
}// fin constructeur |
11 |
|
|
|
function verifier($val,&$db,$DEBUG) { |
|
|
parent::verifier($val,$db,$DEBUG); |
|
|
$f=" ! "; |
|
|
$imgv="<img src='../app/img/punaise.png' style='vertical-align:middle' hspace='2' border='0'>"; |
|
|
if ($this->valF['contenu']==""){ |
|
|
$this->correct=false; |
|
|
$this->msg= $this->msg.$imgv. |
|
|
_("contenu")." ". |
|
|
_("obligatoire").$f; |
|
|
} |
|
|
} |
|
12 |
|
|
13 |
function setType(&$form,$maj) { |
function setType(&$form,$maj) { |
14 |
parent::setType($form,$maj); |
parent::setType($form,$maj); |
44 |
$form->setSelect("automatique",$contenu); |
$form->setSelect("automatique",$contenu); |
45 |
} |
} |
46 |
|
|
47 |
function setMax(&$form,$maj){ |
|
|
parent::setMax($form,$maj); |
|
|
$form->setMax('libelle', 70); |
|
|
} |
|
|
|
|
|
function setTaille(&$form,$maj){ |
|
|
parent::setTaille($form,$maj); |
|
|
$form->setTaille('libelle', 70); |
|
|
} |
|
48 |
}// fin classe |
}// fin classe |
49 |
?> |
?> |