function.ctrl_value_assign.php
Tags
Table of Contents
- jtpl_function_html_ctrl_value_assign() : mixed
- function plugin : assign the value of the current control into the given template variable
Functions
jtpl_function_html_ctrl_value_assign()
function plugin : assign the value of the current control into the given template variable
jtpl_function_html_ctrl_value_assign(jTpl $tpl, string $varname[, string $ctrlname = '' ][, mixed $insteadOfDisplay = null ]) : mixed
Parameters
- $tpl : jTpl
-
template engine
- $varname : string
-
name of the template variable
- $ctrlname : string = ''
-
the name of the control from which we retrieve the value. Empty if current control of a loop.
- $insteadOfDisplay : mixed = null