ILIAS  trunk Revision v11.0_alpha-1761-g6dbbfa7b760
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
NullItemInformation.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
28 
34 {
35  public function isItemActive(isItem $item): bool
36  {
37  return false;
38  }
39 
40  public function customPosition(isItem $item): isItem
41  {
42  return $item;
43  }
44 
45  public function customTranslationForUser(hasTitle $item): hasTitle
46  {
47  return $item;
48  }
49 
50  public function getParent(isItem $item): IdentificationInterface
51  {
52  return new NullIdentification();
53  }
54 
55  public function customSymbol(hasSymbol $item): hasSymbol
56  {
57  return $item;
58  }
59 }