3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
17 $def = $this->
getADT()->getCopyOfDefinition();
22 $min = $def->getMin();
25 $number->setMinValue($min);
28 $max = $def->getMax();
31 $number->setMaxValue($max);
33 $length = strlen($max);
34 $number->setSize($length);
35 $number->setMaxLength($length);
48 $item->setValue($post);
50 $this->
getADT()->setNumber($post);
54 $this->
getADT()->setNumber();
67 return $a_element_id.
" = ".$ilDB->quote($this->
getADT()->getNumber(),
"integer");
73 return $this->
getADT()->equals($a_adt);
83 return serialize(array($this->
getADT()->getNumber()));
89 $a_value = unserialize($a_value);
90 if(is_array($a_value))
92 $this->getLowerADT()->setNumber($a_value[0]);