ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
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  {
66  return new ilAccessibilityCriterionConfig();
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 }
Class ilAccessibilityNullCriterion.
This class represents a property form user interface.
if(!array_key_exists('PATH_INFO', $_SERVER)) $config
Definition: metadata.php:68
Class ilAccessibilityCriterionConfig.
This class represents a property in a property form.
$lng
This is how the factory for UI elements looks.
Definition: Factory.php:17
hasUniqueNature()
Returns whether or not a criterion is unique by it&#39;s nature.Example: "User Language". A user account can only have one profile language . bool
legacy($content)
description: purpose: > This component is used to wrap an existing ILIAS UI element into a UI compon...
Interface ilAccessibilityCriterionType.
__construct(Container $dic, ilPlugin $plugin)
evaluate(ilObjUser $user, ilAccessibilityCriterionConfig $config)
bool
language handling
Interface ilAccessibilityCriterionTypeGUI.
getTypeIdent()
Returns a unique id of the criterion type.string