ILIAS
trunk Revision v11.0_alpha-1861-g09f3d197f78
|
Public Member Functions | |
getValue () | |
parseExportValue ($value) | |
getValueFromExcel (ilExcel $excel, int $row, int $col) | |
![]() | |
__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, bool $omit_parsing=false) | |
Set value for record field. More... | |
setValueFromForm (ilPropertyFormGUI $form) | |
getFormulaValue () | |
parseExportValue ($value) | |
Function to parse incoming data from form input value $value. More... | |
getValueFromExcel (ilExcel $excel, int $row, int $col) | |
parseValue ($value) | |
Function to parse incoming data from form input value $value. More... | |
getExportValue () | |
fillExcelExport (ilExcel $worksheet, int &$row, int &$col) | |
getPlainText () | |
getSortingValue (bool $link=true) | |
addHiddenItemsToConfirmation (ilConfirmationGUI $confirmation) | |
parseSortingValue ($value, bool $link=true) | |
Returns sortable value for the specific field-types. More... | |
cloneStructure (ilDclBaseRecordFieldModel $old_record_field) | |
afterClone () | |
getField () | |
getId () | |
getRecord () | |
getRecordRepresentation () | |
setRecordRepresentation (ilDclBaseRecordRepresentation $record_representation) | |
getFieldRepresentation () | |
setFieldRepresentation (ilDclBaseFieldRepresentation $field_representation) | |
Data Fields | |
const | PROP_SELECTION_TYPE = '' |
const | PROP_SELECTION_OPTIONS = '' |
Protected Member Functions | |
getMultipleValuesFromString (string $stringValues) | |
Copied from reference field and slightly adjusted. More... | |
![]() | |
doRead () | |
Read object data from database. More... | |
loadValue () | |
Load the value. More... | |
Additional Inherited Members | |
![]() | |
int | $id = null |
ilDclBaseFieldModel | $field |
ilDclBaseRecordModel | $record |
ilDclBaseRecordRepresentation | $record_representation = null |
ilDclBaseFieldRepresentation | $field_representation = null |
$value | |
ilObjUser | $user |
ilCtrl | $ctrl |
ilDBInterface | $db |
ilLanguage | $lng |
ILIAS HTTP Services | $http |
ILIAS Refinery Factory | $refinery |
Definition at line 21 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 82 of file class.ilDclSelectionRecordFieldModel.php.
References ilDclBaseRecordFieldModel\getField(), and null.
Referenced by getValueFromExcel().
ilDclSelectionRecordFieldModel::getValue | ( | ) |
Definition at line 30 of file class.ilDclSelectionRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, and ilDclBaseRecordFieldModel\getField().
ilDclSelectionRecordFieldModel::getValueFromExcel | ( | ilExcel | $excel, |
int | $row, | ||
int | $col | ||
) |
Definition at line 52 of file class.ilDclSelectionRecordFieldModel.php.
References ilDataCollectionImporter\getExcelCharForInteger(), ilDclBaseRecordFieldModel\getField(), getMultipleValuesFromString(), and ILIAS\Repository\lng().
ilDclSelectionRecordFieldModel::parseExportValue | ( | $value | ) |
array | string | int | $value |
Definition at line 45 of file class.ilDclSelectionRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), and ilDclSelectionOption\getValues().
const ilDclSelectionRecordFieldModel::PROP_SELECTION_OPTIONS = '' |
Definition at line 25 of file class.ilDclSelectionRecordFieldModel.php.
const ilDclSelectionRecordFieldModel::PROP_SELECTION_TYPE = '' |
Definition at line 24 of file class.ilDclSelectionRecordFieldModel.php.