|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
@noinspection AutoloadingIssuesInspection More...
Inheritance diagram for ilDclFileRecordFieldModel:
Collaboration diagram for ilDclFileRecordFieldModel:Public Member Functions | |
| __construct (ilDclBaseRecordModel $record, ilDclBaseFieldModel $field) | |
| parseValue ($value) | |
| Function to parse incoming data from form input value $value. More... | |
| setValueFromForm (ilPropertyFormGUI $form) | |
| delete () | |
| Delete record field in database. More... | |
| parseExportValue ($value) | |
| Function to parse incoming data from form input value $value. More... | |
| parseSortingValue ($value, bool $link=true) | |
| Returns sortable value for the specific field-types. More... | |
| afterClone () | |
Public Member Functions inherited from ilDclBaseRecordFieldModel | |
| __construct (ilDclBaseRecordModel $record, ilDclBaseFieldModel $field) | |
| setUser (ilObjUser $user) | |
| doCreate () | |
| Creates an Id and a database entry. More... | |
| doUpdate () | |
| Update object in database. More... | |
| delete () | |
| Delete record field in database. More... | |
| getValue () | |
| 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) | |
Protected Member Functions | |
| handleFileUpload (array $value, bool $has_save_confirmation) | |
| removeData () | |
Protected Member Functions inherited from ilDclBaseRecordFieldModel | |
| doRead () | |
| Read object data from database. More... | |
| loadValue () | |
| Load the value. More... | |
Protected Attributes | |
| const | FILE_TMP_NAME = 'tmp_name' |
| const | FILE_NAME = "name" |
| const | FILE_TYPE = "type" |
| ILIAS ResourceStorage Services | $irss |
| ilDataCollectionStakeholder | $stakeholder |
| ILIAS FileUpload FileUpload | $upload |
Protected Attributes inherited from ilDclBaseRecordFieldModel | |
| 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 |
@noinspection AutoloadingIssuesInspection
Definition at line 26 of file class.ilDclFileRecordFieldModel.php.
| ilDclFileRecordFieldModel::__construct | ( | ilDclBaseRecordModel | $record, |
| ilDclBaseFieldModel | $field | ||
| ) |
| ilDclBaseRecordModel | $record | |
| ilDclBaseFieldModel | $field |
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 38 of file class.ilDclFileRecordFieldModel.php.
References $DIC, ilDclBaseRecordFieldModel\$field, ilDclBaseRecordFieldModel\$record, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Repository\upload().
Here is the call graph for this function:| ilDclFileRecordFieldModel::afterClone | ( | ) |
Reimplemented from ilDclBaseRecordFieldModel.
Reimplemented in ilDclMobRecordFieldModel.
Definition at line 128 of file class.ilDclFileRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, ilDclBaseRecordFieldModel\doUpdate(), and ilDclBaseRecordFieldModel\setValue().
Here is the call graph for this function:| ilDclFileRecordFieldModel::delete | ( | ) |
Delete record field in database.
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 103 of file class.ilDclFileRecordFieldModel.php.
References removeData().
Here is the call graph for this function:
|
protected |
Reimplemented in ilDclMobRecordFieldModel.
Definition at line 64 of file class.ilDclFileRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, FILE_NAME, FILE_TMP_NAME, ilDclPropertyFormGUI\getTempFilename(), ilDclBaseRecordFieldModel\getValue(), ILIAS\FileDelivery\http(), and ILIAS\Filesystem\Stream\Streams\ofResource().
Referenced by parseValue().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDclFileRecordFieldModel::parseExportValue | ( | $value | ) |
Function to parse incoming data from form input value $value.
returns the string/number/etc. to store in the database.
| mixed | $value |
Reimplemented from ilDclBaseRecordFieldModel.
Reimplemented in ilDclMobRecordFieldModel.
Definition at line 118 of file class.ilDclFileRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value.
| ilDclFileRecordFieldModel::parseSortingValue | ( | $value, | |
| bool | $link = true |
||
| ) |
Returns sortable value for the specific field-types.
| int | string | $value |
Reimplemented from ilDclBaseRecordFieldModel.
Reimplemented in ilDclMobRecordFieldModel.
Definition at line 123 of file class.ilDclFileRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value.
| ilDclFileRecordFieldModel::parseValue | ( | $value | ) |
Function to parse incoming data from form input value $value.
returns the string/number/etc. to store in the database.
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 47 of file class.ilDclFileRecordFieldModel.php.
References ilDclBaseRecordFieldModel\$value, ilDclBaseRecordFieldModel\getRecord(), ilDclBaseRecordFieldModel\getValue(), handleFileUpload(), and ILIAS\FileDelivery\http().
Here is the call graph for this function:
|
protected |
Reimplemented in ilDclMobRecordFieldModel.
Definition at line 111 of file class.ilDclFileRecordFieldModel.php.
Referenced by delete(), and setValueFromForm().
Here is the caller graph for this function:| ilDclFileRecordFieldModel::setValueFromForm | ( | ilPropertyFormGUI | $form | ) |
Reimplemented from ilDclBaseRecordFieldModel.
Definition at line 93 of file class.ilDclFileRecordFieldModel.php.
References ilDclBaseRecordFieldModel\doUpdate(), ilPropertyFormGUI\getItemByPostVar(), removeData(), and ilDclBaseRecordFieldModel\setValue().
Here is the call graph for this function:
|
protected |
Definition at line 34 of file class.ilDclFileRecordFieldModel.php.
|
protected |
Definition at line 35 of file class.ilDclFileRecordFieldModel.php.
|
protected |
Definition at line 36 of file class.ilDclFileRecordFieldModel.php.
|
protected |
Definition at line 31 of file class.ilDclFileRecordFieldModel.php.
Referenced by handleFileUpload().
|
protected |
Definition at line 30 of file class.ilDclFileRecordFieldModel.php.
Referenced by handleFileUpload().
|
protected |
Definition at line 32 of file class.ilDclFileRecordFieldModel.php.