ILIAS  release_8 Revision v8.24
Table.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\UI\Implementation\Component\ComponentHelper;
25
26abstract class Table implements T\Table
27{
28 use ComponentHelper;
29
30 protected string $title;
31
32 public function __construct(
33 string $title
34 ) {
35 $this->title = $title;
36 }
37
41 public function withTitle(string $title): T\Table
42 {
43 $clone = clone $this;
44 $clone->title = $title;
45 return $clone;
46 }
47
51 public function getTitle(): string
52 {
53 return $this->title;
54 }
55}
string()
Contains constraints for string.
Definition: Factory.php:86
clone(ilDclStandardField $original_record)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...