ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.ilDclCopyRecordFieldModel.php
Go to the documentation of this file.
1<?php
2
20{
21 public function deserializeData($value)
22 {
23 return (string) $value;
24 }
25
26 public function setValueFromForm(ilPropertyFormGUI $form): void
27 {
28 $value = $form->getInput('field_' . $this->getField()->getId());
29 if (is_array($value)) {
30 $value = implode('; ', $value);
31 }
32 $this->setValue($value);
33 }
34}
setValue($value, bool $omit_parsing=false)
Set value for record field.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
deserializeData($value)
Deserialize data before applying to field.
This class represents a property form user interface.
getInput(string $a_post_var, bool $ensureValidation=true)
Returns the input of an item, if item provides getInput method and as fallback the value of the HTTP-...