ILIAS  release_7 Revision v7.30-3-g800a261c036
class.ilAccessibilityNullCriterion.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
3
6
11{
15 public function getTypeIdent() : string
16 {
17 return 'null';
18 }
19
24 {
25 return true;
26 }
27
31 public function hasUniqueNature() : bool
32 {
33 return false;
34 }
35
40 {
41 return new class($lng) implements ilAccessibilityCriterionTypeGUI {
43 protected $lng;
44
49 public function __construct(ilLanguage $lng)
50 {
51 $this->lng = $lng;
52 }
53
57 public function appendOption(ilRadioGroupInputGUI $option, ilAccessibilityCriterionConfig $config) : void
58 {
59 }
60
64 public function getConfigByForm(ilPropertyFormGUI $form) : ilAccessibilityCriterionConfig
65 {
67 }
68
72 public function getIdentPresentation() : string
73 {
74 return $this->lng->txt('deleted');
75 }
76
80 public function getValuePresentation(
82 Factory $uiFactory
83 ) : Component {
84 return $uiFactory->legacy('-');
85 }
86 };
87 }
88}
An exception for terminatinating execution or to throw for unit testing.
Class ilAccessibilityCriterionConfig.
Class ilAccessibilityNullCriterion.
getTypeIdent()
Returns a unique id of the criterion type.string
hasUniqueNature()
Returns whether or not a criterion is unique by it's nature.Example: "User Language"....
evaluate(ilObjUser $user, ilAccessibilityCriterionConfig $config)
bool
language handling
This class represents a property form user interface.
This class represents a property in a property form.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
This is how the factory for UI elements looks.
Definition: Factory.php:18
Interface ilAccessibilityCriterionTypeGUI.
Interface ilAccessibilityCriterionType.
legacy()
Definition: legacy.php:3
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
$lng