string smarty_function_lang(
array $params, &$smarty, object $smarty)
|
|
Smarty function to get the site's language
available parameters:
- assign if set, the language will be assigned to this variable
Example <html lang="<!--[lang]-->">
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
$smarty |
Reference to the Smarty object |
| |
&$smarty |
|