3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
20 $this->
getADT()->setNumber($value);
29 $def = $this->
getADT()->getCopyOfDefinition();
34 $min = $def->getMin();
37 $number->setMinValue($min);
40 $max = $def->getMax();
43 $number->setMaxValue($max);
45 $length = strlen($max);
46 $number->setSize($length);
47 $number->setMaxLength($length);
50 $number->setValue($this->
getADT()->getNumber());
62 $item->setValue($post);
64 $this->
getADT()->setNumber($post);
68 $this->
getADT()->setNumber();
81 return $a_element_id.
" = ".$ilDB->quote($this->
getADT()->getNumber(),
"integer");
89 return $this->
getADT()->equals($a_adt);
99 return serialize(
array($this->
getADT()->getNumber()));
105 $a_value = unserialize($a_value);
106 if(is_array($a_value))
108 $this->
getADT()->setNumber($a_value[0]);
setSerializedValue($a_value)
getSQLCondition($a_element_id)
isValidADTDefinition(ilADTDefinition $a_adt_def)
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)
Create styles array
The data for the language used.
importFromPost(array $a_post=null)
isInCondition(ilADT $a_adt)
ADT definition base class.
getElementId()
Get element id.
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.