19declare(strict_types=1);
28 $mob->setTitle(
$value[self::FILE_NAME]);
31 $mob->addMediaItemFromUpload(
33 $this->
upload->getResults()[$value[self::FILE_TMP_NAME]],
34 $this->http->wrapper()->post()->retrieve(
'ilfilehash', $this->refinery->kindlyTo()->string())
41 $this->getRecord()->getTable()->getCollectionObject()->getId()
55 if (is_numeric($file)) {
57 return $mob->getTitle();
71 return $mob->getTitle();
84 if ($this->value !==
null) {
88 $new = $origin->duplicate();
setValue($value, bool $omit_parsing=false)
Set value for record field.
doUpdate()
Update object in database.
@noinspection AutoloadingIssuesInspection
parseExportValue($value)
Function to parse incoming data from form input value $value.
handleFileUpload(array $value, bool $has_save_confirmation)
parseSortingValue($value, bool $link=true)
Returns sortable value for the specific field-types.