24 $input->setDisabled(
true);
25 $input->setValue(
'-');
26 $input->setInfo($this->
getField()->getDescription() .
'<br>' . $this->
lng->txt(
'dcl_formula_detail_desc'));
33 $opt = parent::buildFieldCreationInput($dcl, $mode);
35 $table_id = $this->
http->wrapper()->query()->retrieve(
'table_id', $this->
refinery->kindlyTo()->int());
38 foreach ($table->getFieldsForFormula() as
$f) {
39 $placeholder = (
$f->isStandardField()) ?
$f->getId() :
$f->getTitle();
40 $fields[] =
'<a class="dclPropExpressionField" data-placeholder="' . $placeholder .
'">' .
$f->getTitle() .
'</a>';
43 $this->
lng->txt(
'dcl_prop_expression'),
48 $subitem->setInfo(sprintf(
49 $this->
lng->txt(
'dcl_prop_expression_info'),
52 implode(
'<br>', $fields)
54 $opt->addSubItem($subitem);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
const PROP_FORMULA_EXPRESSION
static http()
Fetches the global http state from ILIAS.
static getTableCache(int $table_id=null)
getField()
Return BaseFieldModel.
This class represents a text area property in a property form.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...