ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Link.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
29{
30 use hasTitleTrait;
33
34 public function __construct(
35 IdentificationInterface $provider_identification,
36 string $title
37 ) {
38 parent::__construct($provider_identification);
39 $this->title = $title;
40 }
41
42 public function isTop(): bool
43 {
44 return !$this->hasParent();
45 }
46
47}
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc