ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
PresentationRow.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
30
37{
41 public function withHeadline(string $headline): self;
42
46 public function withSubheadline(string $subheadline): self;
47
54 public function withImportantFields(array $fields): self;
55
59 public function withContent(Block $content): self;
60
64 public function withFurtherFieldsHeadline(string $headline): self;
65
72 public function withFurtherFields(array $fields): self;
73
79 public function withAction($action): self;
80
84 public function getShowSignal(): Signal;
85
89 public function getCloseSignal(): Signal;
90
94 public function getToggleSignal(): Signal;
95
99 public function withLeadingSymbol(Symbol $symbol): self;
100}
This describes commonalities between standard and primary buttons.
Definition: Button.php:34
A component is the most general form of an entity in the UI.
Definition: Component.php:28
This describes commonalities between all types of Dropdowns.
Definition: Dropdown.php:35
This is the interface for Blocks.
Definition: Block.php:28
This describes a symbol.
Definition: Symbol.php:30
This describes a Row used in Presentation Table.
getCloseSignal()
Get the signal to collapse the row.
withContent(Block $content)
Get a row like this with content.
withFurtherFields(array $fields)
Get a row like this with the record-fields and labels to be shown in the list of the expanded row.
getShowSignal()
Get the signal to expand the row.
withFurtherFieldsHeadline(string $headline)
Get a row like this with a headline for the field-list in the expanded row.
withLeadingSymbol(Symbol $symbol)
Add a Symbol to the row's title.
getToggleSignal()
Get the signal to toggle (expand/collapse) the row.
withImportantFields(array $fields)
Get a row like this with the record-fields and labels to be shown in the collapsed row.
withAction($action)
Get a row like this with a button or a dropdown for actions in the expanded row.
withSubheadline(string $subheadline)
Get a row like this with the given subheadline.
withHeadline(string $headline)
Get a row like this with the given headline.