19 declare(strict_types=1);
52 throw new \LogicException(
53 "If Glyps are used to indicate the state, they MUST NOT have an attached action." 62 $this->checkBoolArg(
'value', $value);
71 $column_value_true = $this->
format(
true);
72 $column_value_false = $this->
format(
false);
73 if($column_value_true instanceof
Symbol) {
74 $column_value_true = $column_value_true->getLabel();
76 if($column_value_false instanceof Symbol) {
77 $column_value_false = $column_value_false->getLabel();
80 $this->asc_label ?? $column_value_true .
' ' . $this->
lng->txt(
'order_option_first'),
81 $this->desc_label ?? $column_value_false .
' ' . $this->
lng->txt(
'order_option_first')
__construct(\ilLanguage $lng, string $title, $true_option, $false_option)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This describes how a glyph could be modified during construction of UI.
__construct(Container $dic, ilPlugin $plugin)