ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
Standard.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
21 namespace ILIAS\UI\Component\Item;
22 
30 
35 interface Standard extends Item
36 {
40  public function withColor(Color $color): Standard;
41 
45  public function getColor(): ?Color ;
46 
50  public function withLeadImage(Image $image): Standard;
51 
55  public function withAudioPlayer(Audio $audio): Standard;
56 
60  public function withLeadIcon(Icon $icon): Standard;
61 
65  public function withLeadAvatar(Avatar $avatar): Standard;
66 
70  public function withLeadText(string $text): Standard;
71 
75  public function withNoLead(): Standard;
76 
80  public function getLead();
81 
82  public function getAudioPlayer(): ?Audio;
83 
87  public function withProgress(ProgressMeter $chart): Standard;
88 
89  public function getProgress(): ?ProgressMeter;
90 
94  public function withActions(DropdownStandard $actions): Standard;
95 
99  public function getActions(): ?DropdownStandard;
100 }
withActions(DropdownStandard $actions)
Create a new appointment item with a set of actions to perform on it.
withProgress(ProgressMeter $chart)
Set progress meter chart.
getColor()
Return the given color.
withLeadText(string $text)
Set image as lead.
Color expresses a certain color by giving the mixing ratio in the RGB color space.
Definition: Color.php:15
This describes how an icon could be modified during construction of UI.
Definition: Icon.php:28
withNoLead()
Reset lead to null.
This describes how a letter or a picture avatar could be modified during construction of UI...
Definition: Avatar.php:28
withColor(Color $color)
Set a color.
Common interface to all items.
Definition: Item.php:31
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Factory.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
withLeadImage(Image $image)
Set image as lead.
withLeadAvatar(Avatar $avatar)
Set avatar as lead.
withLeadIcon(Icon $icon)
Set icon as lead.
This describes a Standard Dropdown.
Definition: Standard.php:26
getActions()
Get the actions of the item.
withAudioPlayer(Audio $audio)
Set audio player.