ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilDclBaseFieldModel. More...
Public Member Functions | |
__construct (ilDclBaseRecordModel $record, ilDclBaseFieldModel $field) | |
addHiddenItemsToConfirmation (ilConfirmationGUI &$confirmation) | |
setValue ($value, $omit_parsing=false) | |
Set value for record field. More... | |
doUpdate () | |
Do nothing, value is runtime only and not stored in DB. More... | |
doRead () | |
Do nothing, value is runtime only and not stored in DB. More... | |
delete () | |
Do nothing, value is runtime only and not stored in DB. More... | |
getFormInput () | |
getHTML () | |
getExportValue () | |
getValue () | |
Public Member Functions inherited from ilDclBaseRecordFieldModel | |
__construct (ilDclBaseRecordModel $record, ilDclBaseFieldModel $field) | |
doCreate () | |
Creates an Id and a database entry. More... | |
doUpdate () | |
Update object in database. More... | |
delete () | |
Delete record field in database. More... | |
getValue () | |
getValueForRepresentation () | |
serializeData ($value) | |
Serialize data before storing to db. More... | |
deserializeData ($value) | |
Deserialize data before applying to field. More... | |
setValue ($value, $omit_parsing=false) | |
Set value for record field. More... | |
setValueFromForm ($form) | |
parseExportValue ($value) | |
Function to parse incoming data from form input value $value. More... | |
getValueFromExcel ($excel, $row, $col) | |
parseValue ($value) | |
Function to parse incoming data from form input value $value. More... | |
getExportValue () | |
fillExcelExport (ilExcel $worksheet, &$row, &$col) | |
getPlainText () | |
getSortingValue ($link=true) | |
addHiddenItemsToConfirmation (ilConfirmationGUI &$confirmation) | |
parseSortingValue ($value, $link=true) | |
Returns sortable value for the specific field-types. More... | |
cloneStructure (ilDclBaseRecordFieldModel $old_record_field) | |
afterClone () | |
getField () | |
getId () | |
getRecord () | |
getRecordRepresentation () | |
setRecordRepresentation ($record_representation) | |
getFieldRepresentation () | |
setFieldRepresentation ($field_representation) | |
Protected Member Functions | |
loadValue () | |
Do nothing, value is runtime only and not stored in DB. More... | |
parse () | |
Parse expression. More... | |
Protected Member Functions inherited from ilDclBaseRecordFieldModel | |
doRead () | |
Read object data from database. More... | |
loadValue () | |
Load the value. More... | |
Protected Attributes | |
$expression = '' | |
$parsed_value = '' | |
Protected Attributes inherited from ilDclBaseRecordFieldModel | |
$id | |
$field | |
$record | |
$record_representation | |
$field_representation | |
$value | |
$user | |
$ctrl | |
$db | |
$lng | |
Class ilDclBaseFieldModel.
Definition at line 18 of file class.ilDclFormulaRecordFieldModel.php.
ilDclFormulaRecordFieldModel::__construct | ( | ilDclBaseRecordModel | $record, |
ilDclBaseFieldModel | $field | ||
) |
ilDclBaseRecordModel | $record | |
ilDclBaseFieldModel | $field |
Definition at line 35 of file class.ilDclFormulaRecordFieldModel.php.
References ilDclBaseRecordFieldModel\getField(), and ilDclBaseFieldModel\PROP_FORMULA_EXPRESSION.
ilDclFormulaRecordFieldModel::addHiddenItemsToConfirmation | ( | ilConfirmationGUI & | $confirmation | ) |
ilConfirmationGUI | $confirmation |
Definition at line 45 of file class.ilDclFormulaRecordFieldModel.php.
ilDclFormulaRecordFieldModel::delete | ( | ) |
Do nothing, value is runtime only and not stored in DB.
Definition at line 88 of file class.ilDclFormulaRecordFieldModel.php.
ilDclFormulaRecordFieldModel::doRead | ( | ) |
Do nothing, value is runtime only and not stored in DB.
Definition at line 80 of file class.ilDclFormulaRecordFieldModel.php.
ilDclFormulaRecordFieldModel::doUpdate | ( | ) |
Do nothing, value is runtime only and not stored in DB.
Definition at line 72 of file class.ilDclFormulaRecordFieldModel.php.
ilDclFormulaRecordFieldModel::getExportValue | ( | ) |
Definition at line 113 of file class.ilDclFormulaRecordFieldModel.php.
References parse().
ilDclFormulaRecordFieldModel::getFormInput | ( | ) |
Definition at line 97 of file class.ilDclFormulaRecordFieldModel.php.
References parse().
ilDclFormulaRecordFieldModel::getHTML | ( | ) |
Definition at line 105 of file class.ilDclFormulaRecordFieldModel.php.
References parse().
ilDclFormulaRecordFieldModel::getValue | ( | ) |
Definition at line 121 of file class.ilDclFormulaRecordFieldModel.php.
References parse().
|
protected |
Do nothing, value is runtime only and not stored in DB.
Definition at line 53 of file class.ilDclFormulaRecordFieldModel.php.
|
protected |
Parse expression.
Definition at line 131 of file class.ilDclFormulaRecordFieldModel.php.
References $parsed_value, $parser, ilDclBaseRecordFieldModel\getField(), and ilDclBaseRecordFieldModel\getRecord().
Referenced by getExportValue(), getFormInput(), getHTML(), and getValue().
ilDclFormulaRecordFieldModel::setValue | ( | $value, | |
$omit_parsing = false |
|||
) |
Set value for record field.
mixed | $value | |
bool | $omit_parsing | If true, does not parse the value and stores it in the given format |
Definition at line 64 of file class.ilDclFormulaRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value.
|
protected |
Definition at line 23 of file class.ilDclFormulaRecordFieldModel.php.
|
protected |
Definition at line 28 of file class.ilDclFormulaRecordFieldModel.php.
Referenced by parse().