string smarty_function_pnblockgetinfo(
array $params, object &$smarty)
|
|
Smarty function to obtain the a block variable
Note: If the name parameter is not set then the assign parameter must be set since there is an array of block variables available.
Available parameters:
- bid: the block id
- name: If set the name of the parameter to get otherwise the entire block array is assigned to the template
- assign: If set, the results are assigned to the corresponding variable instead of printed out
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| object |
&$smarty |
Reference to the Smarty object |