ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
isSupportedTrait.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Collector\Renderer
;
22
23
use
ILIAS\UI\Component\Button\Bulky
as
BulkyButton
;
24
use
ILIAS\UI\Component\Component
;
25
use
ILIAS\UI\Component\Divider\Horizontal
;
26
use
ILIAS\UI\Component\Link\Bulky
as BulkyLink;
27
use
ILIAS\UI\Component\MainControls\Slate\Slate
;
28
32
trait
isSupportedTrait
33
{
34
protected
function
isComponentSupportedForCombinedSlate(
Component
$component): bool
35
{
36
return
($component instanceof
BulkyButton
|| $component instanceof Slate || $component instanceof BulkyLink || $component instanceof Horizontal);
37
}
38
39
40
protected
function
isSupportedForMetaBar(
Component
$component): bool
41
{
42
return
($component instanceof
BulkyButton
|| $component instanceof Slate);
43
}
44
}
ILIAS\UI\Component\Link\Bulky
Bulky Link - a visually enriched link that looks like a button but behaves like a link...
Definition:
Bulky.php:28
ILIAS\UI\Component
Component
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Slate
isSupportedTrait
Bulky
Horizontal
Bulky
ILIAS\GlobalScreen\Collector\Renderer
Definition:
DecoratorApplierTrait.php:21
components
ILIAS
GlobalScreen
src
Collector
Renderer
isSupportedTrait.php
Generated on Mon Sep 1 2025 23:03:10 for ILIAS by
1.8.13 (using
Doxyfile
)