ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
BaseTypeHandler.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
25
30final class BaseTypeHandler implements TypeHandler
31{
35 public function matchesForType(): string
36 {
37 return "";
38 }
39
43 public function enrichItem(isItem $item): isItem
44 {
45 return $item;
46 }
47
51 public function getAdditionalFieldsForSubForm(IdentificationInterface $identification): array
52 {
53 return [];
54 }
55
59 public function saveFormFields(IdentificationInterface $identification, array $data): bool
60 {
61 return true;
62 }
63}
saveFormFields(IdentificationInterface $identification, array $data)
@inheritDoc
getAdditionalFieldsForSubForm(IdentificationInterface $identification)
@inheritDoc