ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
TypeHandler.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
31interface TypeHandler
32{
36 public function matchesForType(): string;
37
42 public function enrichItem(isItem $item): isItem;
43
48 public function getAdditionalFieldsForSubForm(IdentificationInterface $identification): array;
49
55 public function saveFormFields(IdentificationInterface $identification, array $data): bool;
56}
getAdditionalFieldsForSubForm(IdentificationInterface $identification)
saveFormFields(IdentificationInterface $identification, array $data)
This describes inputs that can be used in forms.
Definition: FormInput.php:33