Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page function.pnblockgetinfo.php

Procedural File: function.pnblockgetinfo.php

Source Location: /pnRender/plugins/function.pnblockgetinfo.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnblockgetinfo.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








smarty_function_pnblockgetinfo [line 31]

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:

return:  the variables content
author:  Mark West
since:  17.03.2005


Parameters

array   $params   All attributes passed to this function from the template
object   &$smarty   Reference to the Smarty object
[ Top ]


Packages:

Files:

Classes: