ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NullSelectSpecificData.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 public function hasOptions(): bool
28 {
29 return false;
30 }
31
32 public function isPersisted(): bool
33 {
34 return false;
35 }
36
37 public function containsChanges(): bool
38 {
39 return false;
40 }
41
42 public function getOptions(): \Generator
43 {
44 yield from [];
45 }
46
47 public function getOption(int $option_id): ?Option
48 {
49 return null;
50 }
51
52 public function removeOption(int $option_id): void
53 {
54 }
55
56 public function addOption(): Option
57 {
58 return new NullOption();
59 }
60
61 public function isTypeSupported(Type $type): bool
62 {
63 return false;
64 }
65
66 public function fieldID(): ?int
67 {
68 return null;
69 }
70}
containsChanges()
Was the contained data altered with respect to what is persisted? Returns true if not persisted.