function.ctrl_control.php
Tags
Table of Contents
- jtpl_function_html_ctrl_control() : mixed
- function plugin : print the html content of a form control. You should use this plugin inside a formcontrols block.
Functions
jtpl_function_html_ctrl_control()
function plugin : print the html content of a form control. You should use this plugin inside a formcontrols block.
jtpl_function_html_ctrl_control(jTpl $tpl[, string $ctrlname = '' ][, array<string|int, mixed> $attributes = array() ]) : mixed
Parameters
- $tpl : jTpl
-
template engine
- $ctrlname : string = ''
-
the name of the control to display (required if it is outside a formcontrols)
- $attributes : array<string|int, mixed> = array()
-
attribute to add on the generated code (html attributes for example)