3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
20 $this->
getADT()->setNumber($value);
29 $def = $this->
getADT()->getCopyOfDefinition();
33 $number->setDecimals($def->getDecimals());
35 $min = $def->getMin();
38 $number->setMinValue($min);
41 $max = $def->getMax();
44 $number->setMaxValue($max);
46 $length = strlen($max);
47 $number->setSize($length);
48 $number->setMaxLength($length);
51 $number->setValue($this->
getADT()->getNumber());
63 $item->setValue($post);
65 $this->
getADT()->setNumber($post);
69 $this->
getADT()->setNumber();
82 return $a_element_id.
" = ".$ilDB->quote($this->
getADT()->getNumber(),
"float");
90 return $this->
getADT()->equals($a_adt);
100 return serialize(
array($this->
getADT()->getNumber()));
106 $a_value = unserialize($a_value);
107 if(is_array($a_value))
109 $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)
Create styles array
The data for the language used.
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)