ILIAS  release_7 Revision v7.30-3-g800a261c036
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
11abstract class Table implements T\Table
12{
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}
An exception for terminatinating execution or to throw for unit testing.
string()
Contains constraints for string.
Definition: Factory.php:95
clone(int $target_parent_obj_id)
trait ComponentHelper
Provides common functionality for component implementations.