ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
HasViewControls.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\ViewControl
;
22
23
use
ILIAS\UI\Component\ViewControl\HasViewControls
as HasViewControlsInterface;
24
28
trait
HasViewControls
29
{
30
protected
?array $view_controls =
null
;
31
35
public
function
withViewControls(array $view_controls): HasViewControlsInterface
36
{
40
$clone = clone $this;
41
$clone->view_controls = $view_controls;
42
return
$clone;
43
}
47
public
function
getViewControls
(): ?array
48
{
49
return
$this->view_controls;
50
}
51
}
ILIAS\UI\Component\ViewControl\HasViewControls
Trait for adding view controls to a component.
Definition:
HasViewControls.php:29
ILIAS\UI\Implementation\Component\ViewControl
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\ViewControl\getViewControls
getViewControls()
@inheritDoc
Definition:
HasViewControls.php:47
ILIAS\UI\Implementation\Component\ViewControl\HasViewControls
trait HasViewControls
Trait for panels supporting view controls.
Definition:
HasViewControls.php:29
components
ILIAS
UI
src
Implementation
Component
ViewControl
HasViewControls.php
Generated on Sat Oct 18 2025 23:04:39 for ILIAS by
1.9.4 (using
Doxyfile
)