19 declare(strict_types=1);
28 abstract class Column implements C\Column
44 protected string $title
55 $class = explode(
'\\', $this::class);
56 return array_pop($class);
63 $clone->sortable = $flag;
73 ?
string $asc_label =
null,
74 ?
string $desc_label =
null 88 $this->asc_label ?? $this->
getTitle() . self::SEPERATOR . $this->
lng->txt(
'order_option_generic_ascending'),
89 $this->desc_label ?? $this->
getTitle() . self::SEPERATOR . $this->
lng->txt(
'order_option_generic_descending')
93 public function withIsOptional(
bool $is_optional,
bool $is_initially_visible =
true): self
96 $clone->optional = $is_optional;
97 $clone->initially_visible = $is_initially_visible;
113 $clone = clone $this;
125 $clone = clone $this;
126 $clone->highlighted = $flag;
137 return (
string) $value;
withOrderingLabels(?string $asc_label=null, ?string $desc_label=null)
withIsOptional(bool $is_optional, bool $is_initially_visible=true)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
withIsSortable(bool $flag)
withHighlight(bool $flag)
__construct(protected Language $lng, protected string $title)