string smarty_function_pnusergetlang(
array $params, object &$smarty, string $assign)
|
|
Smarty function to get the users language
This function determines the recent users language
Available parameters:
- assign: If set, the result is assigned to the corresponding variable instead of printed out
Example <!--[pnusergetlang name="foobar" ]-->
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |
| string |
$assign |
(optional) The name of the variable to assign the result to |