19declare(strict_types=1);
30 return "tpl.glyph.context_btn.html";
40 $aria_label = $component->getLabel();
41 if($aria_label !=
'') {
42 $aria_label = $this->
txt($aria_label);
44 foreach ($component->getCounters() as
$counter) {
46 $aria_label .= $this->
txt(
"counter_" . $counter->getType()) .
" " .
$counter->getNumber() .
"; ";
50 if($aria_label !=
"") {
renderAction(Component\Component $component, Template $tpl)
renderLabel(Component\Component $component, Template $tpl)
txt(string $id)
Get a text from the language file.
Interface to templating as it is used in the UI framework.
setVariable(string $name, $value)
Set a variable in the current block.