3 require_once
"Services/ADT/classes/Bridges/class.ilADTFormBridge.php";
18 $number->setDecimals(
$def->getDecimals());
22 $min =
$def->getMin();
24 $number->setMinValue($min);
27 $max =
$def->getMax();
29 $number->setMaxValue($max);
31 $length = strlen($max)+
$def->getDecimals()+1;
32 $number->setSize($length);
33 $number->setMaxLength($length);
36 $suffix =
$def->getSuffix();
37 if ($suffix !== null) {
38 $number->setSuffix($suffix);
41 $number->setValue($this->
getADT()->getNumber());
52 $field->setValue($this->
getADT()->getNumber());