string smarty_function_pnthemegetvar(
array $params, object &$smarty)
|
|
Smarty function to get a colour definition from the theme
This function returns the corresponding color define from the theme
Available parameters:
- name: Name of the colour definition
- default: If set, the default value to return if the variable is not set
- assign: If set, the results are assigned to the corresponding variable instead of printed out
Example <!--[pnthemegetvar name="bgcolor"]-->
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |