Procedural File: block.pnsecauthaction_block.php
Source Location: /system/pnRender/plugins/block.pnsecauthaction_block.php
Page Details:
Zikula Application Framework
Tags:
smarty_block_pnsecauthaction_block [line 34]
mixed smarty_block_pnsecauthaction_block(
array $params, string $content, &$smarty, object $smarty)
|
|
Smarty block to implement PN permissions checks in a template available parameters: - realm the realm under test
- component the component under test
- instance the instance under test
- level the level of access required
Example <!--[pnsecauthaction_block component='News::' instance='1::' level=ACCESS_COMMENT]--> do some stuff now we have permission <!--[/pnsecauthaction_block]-->
Tags:
Parameters
| array |
$params |
All attributes passed to this function from the template |
| string |
$content |
The content between the block tags |
| object |
$smarty |
Reference to the Smarty object |
| |
&$smarty |
|
|
|