19declare(strict_types=1);
37 ?
string $id_for_label =
null,
38 ?
string $dependant_group_html =
null
42 $tpl->setVariable(
"INPUT", $input_html);
45 $tpl->setCurrentBlock(
"for");
46 $tpl->setVariable(
"ID", $id_for_label);
47 $tpl->parseCurrentBlock();
51 $tpl->setVariable(
"LABEL", $label);
wrapInFormContext(FormInput $component, string $label, string $input_html, ?string $id_for_label=null, ?string $dependant_group_html=null)
getTemplate(string $name, bool $purge_unfilled_vars, bool $purge_unused_blocks)
Get template of component this renderer is made for.
Interface to templating as it is used in the UI framework.
An entity that renders components to a string output.