ILIAS  release_7 Revision v7.30-3-g800a261c036
All Data Structures Namespaces Files Functions Variables Modules Pages
Table.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 2020 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
3 
5 
8 
9 //use ILIAS\UI\Implementation\Component\ViewControl\HasViewControls;
10 
11 abstract class Table implements T\Table
12 {
13  use ComponentHelper;
14  //use HasViewControls;
15 
19  protected $title;
20 
24  public function withTitle(string $title) : T\Table
25  {
26  $clone = clone $this;
27  $clone->title = $title;
28  return $clone;
29  }
30 
34  public function getTitle() : string
35  {
36  return $this->title;
37  }
38 }
trait ComponentHelper
Provides common functionality for component implementations.