ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
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 
26 
31 {
32  public function isItemActive(isItem $item): bool
33  {
34  return false;
35  }
36 
37  public function customPosition(isItem $item): isItem
38  {
39  return $item;
40  }
41 
42  public function customTranslationForUser(hasTitle $item): hasTitle
43  {
44  return $item;
45  }
46 
47  public function getParent(isItem $item): IdentificationInterface
48  {
49  return new NullIdentification();
50  }
51 
52 }