ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
HasViewControls.php
Go to the documentation of this file.
1<?php
2
3/* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4
6
11{
15 protected $view_controls;
16
20 public function withViewControls(array $view_controls) : \ILIAS\UI\Component\Component
21 {
22 $clone = clone $this;
23 $clone->view_controls = $view_controls;
24 return $clone;
25 }
29 public function getViewControls() : ?array
30 {
31 return $this->view_controls;
32 }
33}
An exception for terminatinating execution or to throw for unit testing.
A component is the most general form of an entity in the UI.
Definition: Component.php:14
withViewControls(array $view_controls)
@inheritDoc
trait HasViewControls
Trait for panels supporting view controls.
Class ChatMainBarProvider \MainMenu\Provider.
Class Factory.