3 require_once
"Services/ADT/classes/Bridges/class.ilADTSearchBridgeSingle.php";
18 if ($value !== null) {
19 $this->
getADT()->setNumber($value);
33 $min =
$def->getMin();
35 $number->setMinValue($min);
38 $max =
$def->getMax();
40 $number->setMaxValue($max);
42 $length = strlen($max);
43 $number->setSize($length);
44 $number->setMaxLength($length);
47 $number->setValue($this->
getADT()->getNumber());
58 $item->setValue(
$post);
62 $this->
getADT()->setNumber();
74 return $a_element_id .
" = " . $ilDB->quote($this->
getADT()->getNumber(),
"integer");
82 return $this->
getADT()->equals($a_adt);
91 return serialize(
array($this->
getADT()->getNumber()));
97 $a_value = unserialize($a_value);
98 if (is_array($a_value)) {
99 $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.