Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Procedural File: function.pnblockgetinfo.php

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



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnblockgetinfo.php 24342 2008-06-06 12:03:14Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
filesource:  Source Code for this file
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 ]



Documentation generated on Fri, 18 Jul 2008 21:45:36 +0200 by phpDocumentor 1.4.1