ILIAS  trunk Revision v11.0_alpha-1689-g66c127b4ae8
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
TypeHandler.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
31 interface 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)