ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Horizontal.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 use ILIAS\UI\Component as C;
25 
29 class Horizontal implements C\Divider\Horizontal
30 {
31  use ComponentHelper;
32 
33  protected ?string $label = null;
34 
35  public function __construct()
36  {
37  }
38 
42  public function getLabel(): ?string
43  {
44  return $this->label;
45  }
46 
50  public function withLabel(string $label): C\Divider\Horizontal
51  {
52  $this->checkStringArg("label", $label);
53  $clone = clone $this;
54  $clone->label = $label;
55  return $clone;
56  }
57 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null