3 require_once
"Services/ADT/classes/Bridges/class.ilADTFormBridge.php";
22 public function setMulti($a_value, $a_cols = null, $a_rows = null)
24 $this->multi = (bool)$a_value;
25 $this->multi_rows = ($a_rows === null) ? null : (
int)$a_rows;
26 $this->multi_cols = ($a_cols === null) ? null : (
int)$a_cols;
51 $def = $this->
getADT()->getCopyOfDefinition();
57 if($def->getMaxLength())
59 $max = $def->getMaxLength();
62 $text->setMaxLength($max);
76 $text->setRows($this->multi_rows);
80 $text->setCols($this->multi_cols);
97 $field->setValue($this->
getADT()->getText());
setMulti($a_value, $a_cols=null, $a_rows=null)
Set multi-line.
This class represents a text property in a property form.
This class represents a text area property in a property form.