ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
isSupportedTrait.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\GlobalScreen\Collector\Renderer
;
4
5
use
ILIAS\UI\Component\Button\Bulky
as
BulkyButton
;
6
use
ILIAS\UI\Component\Component
;
7
use
ILIAS\UI\Component\Divider\Horizontal
;
8
use
ILIAS\UI\Component\Link\Bulky
as BulkyLink;
9
use
ILIAS\UI\Component\MainControls\Slate\Slate
;
10
16
trait
isSupportedTrait
17
{
18
24
protected
function
isComponentSupportedForCombinedSlate(
Component
$component) : bool
25
{
26
return
($component instanceof
BulkyButton
|| $component instanceof Slate || $component instanceof BulkyLink || $component instanceof Horizontal);
27
}
28
29
35
protected
function
isSupportedForMetaBar(
Component
$component) : bool
36
{
37
return
($component instanceof
BulkyButton
|| $component instanceof Slate);
38
}
39
}
ILIAS\UI\Component\Link\Bulky
Bulky Link - a visually enriched link that looks like a button but behaves like a link...
Definition:
Bulky.php:15
ILIAS\UI\Component
Component
Slate
isSupportedTrait
Bulky
Horizontal
ILIAS\GlobalScreen\Collector\Renderer
Definition:
ComponentDecoratorApplierTrait.php:3
src
GlobalScreen
Collector
Renderer
isSupportedTrait.php
Generated on Mon Sep 1 2025 20:01:41 for ILIAS by
1.8.13 (using
Doxyfile
)