19 declare(strict_types=1);
32 private \
ILIAS\
UI\Renderer $ui_r,
38 string $label_lang_var,
40 bool $condition =
true 46 $clone->items[] = $this->ui_f->button()->shy(
47 $items[] = $this->
lng->txt($label_lang_var),
53 public function get():
string 55 return $this->ui_r->render(
56 $this->ui_f->dropdown()->standard($this->items)
57 ->withLabel($this->
lng->txt(
'actions'))
Class ChatMainBarProvider .
withItem(string $label_lang_var, string $url, bool $condition=true)
__construct(private \ILIAS\UI\Factory $ui_f, private \ILIAS\UI\Renderer $ui_r, private \ilLanguage $lng)
This is to construct/collect the entries (=Links) of a row's action-dropdown.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...