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

Procedural File: function.pnthemegetvar.php

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



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnthemegetvar.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_pnthemegetvar [line 32]

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:

return:  the colour definition
author:  Jörg Napp
since:  16. Sept. 2003


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:46:11 +0200 by phpDocumentor 1.4.1