string smarty_function_pnmodgetname(
array $params, object &$smarty)
|
|
Smarty function to the topmost module name
This function currently returns the name of the current top-level module, false if not in a module.
Available parameters:
- assign: If set, the results are assigned to the corresponding
variable instead of printed out
Example <!--[pnmodgetname|pnvarprepfordisplay]-->
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |