5 |
|
|
6 |
class om_widget extends om_widget_gen { |
class om_widget extends om_widget_gen { |
7 |
|
|
8 |
function om_widget($id,&$db,$debug) { |
function om_widget($id,&$db,$debug) { |
9 |
$this->constructeur($id,$db,$debug); |
$this->constructeur($id,$db,$debug); |
10 |
}// fin constructeur |
}// fin constructeur |
|
|
|
|
function setTaille(&$form,$maj) { |
|
|
parent::setTaille($form,$maj); |
|
|
$form->setTaille('titre',40); |
|
|
$form->setTaille('lien',80); |
|
|
$form->setTaille('om_profil',4); |
|
|
} |
|
|
|
|
|
function setMax(&$form,$maj) { |
|
|
parent::setMax($form,$maj); |
|
|
$form->setMax('titre',40); |
|
|
$form->setMax('lien',80); |
|
|
$form->setMax('om_profil',4); |
|
|
} |
|
|
|
|
11 |
|
|
12 |
}// fin classe |
}// fin classe |
13 |
?> |
?> |