ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Section.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24use ILIAS\UI\Implementation\Component\ComponentHelper;
28
30{
31 use ComponentHelper;
32
34 protected Component $button;
36
38 {
39 if (!$button instanceof Month) {
40 $this->checkArgInstanceOf("button", $button, Button::class);
41 }
42 $this->previous_action = $previous_action;
43 $this->button = $button;
44 $this->next_action = $next_action;
45 }
46
50 public function getPreviousActions(): Button
51 {
53 }
54
58 public function getNextActions(): Button
59 {
60 return $this->next_action;
61 }
62
68 public function getSelectorButton(): Component
69 {
70 return $this->button;
71 }
72}
__construct(Button $previous_action, Component $button, Button $next_action)
Definition: Section.php:37
getSelectorButton()
Returns the Default- or Split-Button placed in the middle of the control.
Definition: Section.php:68
getNextActions()
Returns the action executed by clicking on next.
Definition: Section.php:58
getPreviousActions()
Returns the action executed by clicking on previous.
Definition: Section.php:50
This describes commonalities between standard and primary buttons.
Definition: Button.php:34
This describes the Month Button.
Definition: Month.php:31
A component is the most general form of an entity in the UI.
Definition: Component.php:28
button(string $caption, string $cmd)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21