14 $input->setDisabled(
true);
15 $input->setValue(
'-');
16 $input->setInfo($this->
getField()->getDescription() .
'<br>' . $this->lng->txt(
'dcl_formula_detail_desc'));
27 $opt = parent::buildFieldCreationInput($dcl, $mode);
31 foreach ($table->getFieldsForFormula() as
$f) {
32 $placeholder = (
$f->isStandardField()) ?
$f->getId() :
$f->getTitle();
33 $fields[] =
'<a class="dclPropExpressionField" data-placeholder="' . $placeholder .
'">' .
$f->getTitle() .
'</a>';
38 $subitem->setInfo(sprintf($this->lng->txt(
'dcl_prop_expression_info'), $operators, $functions, implode(
'<br>', $fields)));
39 $opt->addSubItem($subitem);
static getTableCache($table_id=0)
const PROP_FORMULA_EXPRESSION
getField()
Return BaseFieldModel.
This class represents a text area property in a property form.
Class ilDclBaseFieldRepresentation.
Class ilObjDataCollection.