ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilDclBaseFieldModel. More...
Public Member Functions | |
parseValue ($value) | |
addHiddenItemsToConfirmation (ilConfirmationGUI &$confirmation) | |
setValue ($value, $omit_parsing=false) | |
Set value for record field. More... | |
parseExportValue ($value) | |
parseSortingValue ($value, $link=true) | |
Returns sortable value for the specific field-types. More... | |
setValueFromForm ($form) | |
afterClone () | |
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) | |
Additional Inherited Members | |
Protected Member Functions inherited from ilDclBaseRecordFieldModel | |
doRead () | |
Read object data from database. More... | |
loadValue () | |
Load the value. More... | |
Protected Attributes inherited from ilDclBaseRecordFieldModel | |
$id | |
$field | |
$record | |
$record_representation | |
$field_representation | |
$value | |
$user | |
$ctrl | |
$db | |
$lng | |
Class ilDclBaseFieldModel.
Definition at line 14 of file class.ilDclFileuploadRecordFieldModel.php.
ilDclFileuploadRecordFieldModel::addHiddenItemsToConfirmation | ( | ilConfirmationGUI & | $confirmation | ) |
ilConfirmationGUI | $confirmation |
Definition at line 63 of file class.ilDclFileuploadRecordFieldModel.php.
References $key, ilDclBaseRecordFieldModel\$value, ilConfirmationGUI\addHiddenItem(), and ilDclBaseRecordFieldModel\getValue().
ilDclFileuploadRecordFieldModel::afterClone | ( | ) |
Definition at line 154 of file class.ilDclFileuploadRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$field, ilDclBaseRecordFieldModel\$record, ilDclBaseRecordFieldModel\doUpdate(), ilDclCache\getCloneOf(), ilDclBaseRecordFieldModel\getField(), ilObject2\getId(), ilDclBaseRecordFieldModel\getId(), ilDclBaseRecordFieldModel\getRecord(), ilDclCache\getRecordFieldCache(), setValue(), ilDclCache\TYPE_FIELD, and ilDclCache\TYPE_RECORD.
ilDclFileuploadRecordFieldModel::parseExportValue | ( | $value | ) |
Definition at line 103 of file class.ilDclFileuploadRecordFieldModel.php.
References $file, ilDclBaseRecordFieldModel\$value, ilObject2\_exists(), and ilObject2\_lookupType().
ilDclFileuploadRecordFieldModel::parseSortingValue | ( | $value, | |
$link = true |
|||
) |
Returns sortable value for the specific field-types.
$value | ||
ilDclBaseRecordFieldModel | $record_field | |
bool | true | $link |
Definition at line 129 of file class.ilDclFileuploadRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, ilObject2\_exists(), and ilObject2\_lookupType().
ilDclFileuploadRecordFieldModel::parseValue | ( | $value | ) |
Definition at line 16 of file class.ilDclFileuploadRecordFieldModel.php.
References $_GET, $_POST, $DIC, $file, ilDclBaseRecordFieldModel\$value, ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), ilMimeTypeUtil\getMimeType(), ilDclBaseRecordFieldModel\getRecord(), ilDclPropertyFormGUI\getTempFilename(), and ilDclBaseRecordFieldModel\getValue().
Referenced by setValue().
ilDclFileuploadRecordFieldModel::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 79 of file class.ilDclFileuploadRecordFieldModel.php.
References $old, ilDclBaseRecordFieldModel\$value, ilDclBaseRecordFieldModel\getRecord(), ilDclBaseRecordFieldModel\loadValue(), and parseValue().
Referenced by afterClone(), and setValueFromForm().
ilDclFileuploadRecordFieldModel::setValueFromForm | ( | $form | ) |
Definition at line 141 of file class.ilDclFileuploadRecordFieldModel.php.
References $form, ilDclBaseRecordFieldModel\$value, ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), and setValue().