|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilDclSelectionRecordFieldModel. More...
Inheritance diagram for ilDclSelectionRecordFieldModel:
Collaboration diagram for ilDclSelectionRecordFieldModel:Public Member Functions | |
| getValue () | |
| setValueFromForm ($form) | |
| parseExportValue ($value) | |
| getValueFromExcel ($excel, $row, $col) | |
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) | |
| getFormulaValue () | |
| 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) | |
Data Fields | |
| const | PROP_SELECTION_TYPE = '' |
| const | PROP_SELECTION_OPTIONS = '' |
Protected Member Functions | |
| getMultipleValuesFromString ($stringValues) | |
| Copied from reference field and slightly adjusted. More... | |
Protected Member Functions inherited from ilDclBaseRecordFieldModel | |
| doRead () | |
| Read object data from database. More... | |
| loadValue () | |
| Load the value. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ilDclBaseRecordFieldModel | |
| $id | |
| $field | |
| $record | |
| $record_representation | |
| $field_representation | |
| $value | |
| $user | |
| $ctrl | |
| $db | |
| $lng | |
Class ilDclSelectionRecordFieldModel.
Definition at line 9 of file class.ilDclSelectionRecordFieldModel.php.
|
protected |
Copied from reference field and slightly adjusted.
This method tries to get as many valid values out of a string separated by commata. This is problematic as a string value could contain commata itself. It is optimized to work with an exported list from this DataCollection. And works fine in most cases. Only areference list with the values "hello" and "hello, world" Will mess with it.
| $stringValues | string |
Definition at line 95 of file class.ilDclSelectionRecordFieldModel.php.
References $delimiter, and $i.
Referenced by getValueFromExcel().
Here is the caller graph for this function:| ilDclSelectionRecordFieldModel::getValue | ( | ) |
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 20 of file class.ilDclSelectionRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, and ilDclBaseRecordFieldModel\getField().
Here is the call graph for this function:| ilDclSelectionRecordFieldModel::getValueFromExcel | ( | $excel, | |
| $row, | |||
| $col | |||
| ) |
| $excel | |
| $row | |
| $col |
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 59 of file class.ilDclSelectionRecordFieldModel.php.
References $DIC, ilDclBaseRecordFieldModel\$lng, $row, $warning, ilDataCollectionImporter\getExcelCharForInteger(), ilDclBaseRecordFieldModel\getField(), and getMultipleValuesFromString().
Here is the call graph for this function:| ilDclSelectionRecordFieldModel::parseExportValue | ( | $value | ) |
| mixed | $value |
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 44 of file class.ilDclSelectionRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, $values, ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), and ilDclSelectionOption\getValues().
Here is the call graph for this function:| ilDclSelectionRecordFieldModel::setValueFromForm | ( | $form | ) |
| $form | ilPropertyFormGUI |
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 33 of file class.ilDclSelectionRecordFieldModel.php.
References $form.
| const ilDclSelectionRecordFieldModel::PROP_SELECTION_OPTIONS = '' |
Definition at line 14 of file class.ilDclSelectionRecordFieldModel.php.
| const ilDclSelectionRecordFieldModel::PROP_SELECTION_TYPE = '' |
Definition at line 13 of file class.ilDclSelectionRecordFieldModel.php.