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