ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
isInterchangeableItemTrait.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
namespace
ILIAS\GlobalScreen\Scope\MainMenu\Factory
;
21
22
use
ILIAS\GlobalScreen\Identification\NullIdentification
;
23
29
trait
isInterchangeableItemTrait
30
{
31
public
function
hasChanged() : bool
32
{
33
$serialized_parent = $this->getParent()->serialize();
34
if
($this instanceof isTopItem) {
35
return
$serialized_parent !==
''
;
36
} elseif ($this instanceof isChild) {
37
return
$serialized_parent ===
''
;
38
}
39
return
false
;
40
}
41
}
isInterchangeableItemTrait
NullIdentification
ILIAS\GlobalScreen\Scope\MainMenu\Factory
Definition:
AbstractBaseItem.php:21
src
GlobalScreen
Scope
MainMenu
Factory
isInterchangeableItemTrait.php
Generated on Tue Sep 2 2025 21:01:43 for ILIAS by
1.8.13 (using
Doxyfile
)