ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Column.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28{
29 public function getTitle(): string;
30 public function getType(): string;
31 public function withIsSortable(bool $flag): self;
32 public function isSortable(): bool;
33
37 public function withOrderingLabels(
38 ?string $asc_label = null,
39 ?string $desc_label = null
40 ): self;
41
42 public function withIsOptional(bool $is_optional, bool $is_initially_visible = true): self;
43 public function isOptional(): bool;
44 public function isInitiallyVisible(): bool;
45}
A component is the most general form of an entity in the UI.
Definition: Component.php:28
A Column describes the form of presentation for a certain aspect of data, i.e.
Definition: Column.php:28
withOrderingLabels(?string $asc_label=null, ?string $desc_label=null)
you may add custom labels to overwrite auto-generated labels for SortationViewControl
withIsOptional(bool $is_optional, bool $is_initially_visible=true)