ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Class ilDclMobRecordFieldModel. More...
Public Member Functions | |
parseValue ($value) | |
parseExportValue ($value) | |
Function to parse incoming data from form input value $value. More... | |
addHiddenItemsToConfirmation (ilConfirmationGUI &$confirmation) | |
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 ilDclMobRecordFieldModel.
Definition at line 15 of file class.ilDclMobRecordFieldModel.php.
ilDclMobRecordFieldModel::addHiddenItemsToConfirmation | ( | ilConfirmationGUI & | $confirmation | ) |
ilConfirmationGUI | $confirmation |
Definition at line 127 of file class.ilDclMobRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, ilConfirmationGUI\addHiddenItem(), and ilDclBaseRecordFieldModel\getValue().
ilDclMobRecordFieldModel::afterClone | ( | ) |
Definition at line 163 of file class.ilDclMobRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$field, ilDclBaseRecordFieldModel\$record, ilDclBaseRecordFieldModel\doUpdate(), ilObjMediaObject\duplicate(), ilDclCache\getCloneOf(), ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), ilObjMediaObject\getId(), ilDclBaseRecordFieldModel\getRecord(), ilDclCache\getRecordFieldCache(), ilDclBaseRecordFieldModel\setValue(), ilDclCache\TYPE_FIELD, and ilDclCache\TYPE_RECORD.
ilDclMobRecordFieldModel::parseExportValue | ( | $value | ) |
Function to parse incoming data from form input value $value.
returns the strin/number/etc. to store in the database.
mixed | $value |
Definition at line 113 of file class.ilDclMobRecordFieldModel.php.
References $file, and ilDclBaseRecordFieldModel\$value.
ilDclMobRecordFieldModel::parseSortingValue | ( | $value, | |
$link = true |
|||
) |
Returns sortable value for the specific field-types.
$value | ||
ilDclBaseRecordFieldModel | $record_field | |
bool | true | $link |
Definition at line 145 of file class.ilDclMobRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value.
ilDclMobRecordFieldModel::parseValue | ( | $value | ) |
Definition at line 16 of file class.ilDclMobRecordFieldModel.php.
References $_GET, $_POST, ilDclBaseRecordFieldModel\$field, $file, $location, $title, ilDclBaseRecordFieldModel\$value, ilObjMediaObject\_determineWidthHeight(), ilObjMediaObject\_getDirectory(), ilObjMediaObject\_resizeImage(), ilObjMediaObject\_saveUsage(), ilFFmpeg\enabled(), ilFFmpeg\extractImage(), ilUtil\getASCIIFilename(), ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), ilObjMediaObject\getMimeType(), ilDclBaseRecordFieldModel\getRecord(), ilDclPropertyFormGUI\getTempFilename(), ilDclBaseRecordFieldModel\getValue(), ilUtil\moveUploadedFile(), ilDclBaseFieldModel\PROP_HEIGHT, ilDclBaseFieldModel\PROP_WIDTH, ilUtil\renameExecutables(), ilUtil\sendFailure(), and ilFFmpeg\supportsImageExtraction().
ilDclMobRecordFieldModel::setValueFromForm | ( | $form | ) |
Definition at line 154 of file class.ilDclMobRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, ilDclBaseRecordFieldModel\getField(), ilDclBaseRecordFieldModel\getId(), and ilDclBaseRecordFieldModel\setValue().