ILIAS  release_8 Revision v8.24
class.ilAccessibilityNullCriterion.php
Go to the documentation of this file.
1<?php
2
21
26{
27 public function getTypeIdent(): string
28 {
29 return 'null';
30 }
31
33 {
34 return true;
35 }
36
37 public function hasUniqueNature(): bool
38 {
39 return false;
40 }
41
43 {
44 return new class ($lng) implements ilAccessibilityCriterionTypeGUI {
45 protected ilLanguage $lng;
46
47 public function __construct(ilLanguage $lng)
48 {
49 $this->lng = $lng;
50 }
51
52 public function appendOption(ilRadioGroupInputGUI $option, ilAccessibilityCriterionConfig $config): void
53 {
54 }
55
56 public function getConfigByForm(ilPropertyFormGUI $form): ilAccessibilityCriterionConfig
57 {
59 }
60
61 public function getIdentPresentation(): string
62 {
63 return $this->lng->txt('deleted');
64 }
65
66 public function getValuePresentation(
68 Factory $uiFactory
69 ): Component {
70 return $uiFactory->legacy('-');
71 }
72
73 public function getSelection(ilAccessibilityCriterionConfig $config): ilSelectInputGUI
74 {
75 return new ilSelectInputGUI("", "");
76 }
77 };
78 }
79}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilAccessibilityNullCriterion.
getTypeIdent()
Returns a unique id of the criterion type.
hasUniqueNature()
Returns whether or not a criterion is unique by it's nature.
evaluate(ilObjUser $user, ilAccessibilityCriterionConfig $config)
language handling
User class.
This class represents a property form user interface.
This class represents a property in a property form.
This class represents a selection list property in a property form.
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This is how the factory for UI elements looks.
Definition: Factory.php:38
legacy(string $content)
Interface ilAccessibilityCriterionTypeGUI.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:85
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$lng