ILIAS  trunk Revision v5.2.0beta1-34132-g2d4d73d4a0
ILIAS\UI\Implementation\Component\ViewControl\Section Class Reference
+ Inheritance diagram for ILIAS\UI\Implementation\Component\ViewControl\Section:
+ Collaboration diagram for ILIAS\UI\Implementation\Component\ViewControl\Section:

Public Member Functions

 __construct (Button $previous_action, Component $button, Button $next_action)
 
 getPreviousActions ()
 Returns the action executed by clicking on previous. More...
 
 getNextActions ()
 Returns the action executed by clicking on next. More...
 
 getSelectorButton ()
 Returns the Default- or Split-Button placed in the middle of the control. More...
 

Protected Attributes

Button $previous_action
 
Component $button
 
Button $next_action
 

Detailed Description

Definition at line 29 of file Section.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\UI\Implementation\Component\ViewControl\Section::__construct ( Button  $previous_action,
Component  $button,
Button  $next_action 
)

Definition at line 37 of file Section.php.

References ILIAS\UI\Implementation\Component\ViewControl\Section\$button, ILIAS\UI\Implementation\Component\ViewControl\Section\$next_action, ILIAS\UI\Implementation\Component\ViewControl\Section\$previous_action, and ILIAS\Repository\button().

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  }
button(string $caption, string $cmd)
+ Here is the call graph for this function:

Member Function Documentation

◆ getNextActions()

ILIAS\UI\Implementation\Component\ViewControl\Section::getNextActions ( )

Returns the action executed by clicking on next.

Definition at line 58 of file Section.php.

References ILIAS\UI\Implementation\Component\ViewControl\Section\$next_action.

58  : Button
59  {
60  return $this->next_action;
61  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21

◆ getPreviousActions()

ILIAS\UI\Implementation\Component\ViewControl\Section::getPreviousActions ( )

Returns the action executed by clicking on previous.

Definition at line 50 of file Section.php.

References ILIAS\UI\Implementation\Component\ViewControl\Section\$previous_action.

50  : Button
51  {
53  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Bulky.php:21

◆ getSelectorButton()

ILIAS\UI\Implementation\Component\ViewControl\Section::getSelectorButton ( )

Returns the Default- or Split-Button placed in the middle of the control.

Returns
Component the Default- or Split-Button placed in the middle of the control

Definition at line 68 of file Section.php.

References ILIAS\UI\Implementation\Component\ViewControl\Section\$button.

68  : Component
69  {
70  return $this->button;
71  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $button

Component ILIAS\UI\Implementation\Component\ViewControl\Section::$button
protected

◆ $next_action

Button ILIAS\UI\Implementation\Component\ViewControl\Section::$next_action
protected

◆ $previous_action

Button ILIAS\UI\Implementation\Component\ViewControl\Section::$previous_action
protected

The documentation for this class was generated from the following file: