3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
18 if ($value !== null) {
19 $this->
getADT()->setNumber($value);
32 $number->setDecimals(
$def->getDecimals());
34 $min =
$def->getMin();
36 $number->setMinValue($min);
39 $max =
$def->getMax();
41 $number->setMaxValue($max);
43 $length = strlen($max);
44 $number->setSize($length);
45 $number->setMaxLength($length);
48 $number->setValue($this->
getADT()->getNumber());
59 $item->setValue(
$post);
63 $this->
getADT()->setNumber();
77 return $a_element_id .
" = " .
$ilDB->quote($this->
getADT()->getNumber(),
"float");
85 return $this->
getADT()->equals($a_adt);
94 return serialize(array($this->
getADT()->getNumber()));
100 $a_value = unserialize($a_value);
101 if (is_array($a_value)) {
102 $this->
getADT()->setNumber($a_value[0]);
extractPostValues(array $a_post=null)
Extract data from (post) values.
shouldBeImportedFromPost($a_post)
Check if incoming values should be imported at all.
readFilter()
Load value(s) from filter store (in session)
importFromPost(array $a_post=null)
setSerializedValue($a_value)
ADT definition base class.
getElementId()
Get element id.
isValidADTDefinition(ilADTDefinition $a_adt_def)
getSQLCondition($a_element_id)
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.
isInCondition(ilADT $a_adt)