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

Procedural File: modifier.yesno.php

Source Location: /system/pnRender/plugins/modifier.yesno.php



Page Details:

Zikula Application Framework



Tags:

version:  $Id: modifier.yesno.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_modifier_yesno [line 25]

string smarty_modifier_yesno( string $string)

Smarty modifier to turn a boolean value into a suitable language string

Example

<!--[$myvar|yesno|pnvarprepfordisplay]--> returns Yes if $myvar = 1 and No if $myvar = 0




Tags:

return:  the modified output
author:  Mark West
since:  30 March 2006


Parameters

string   $string   the contents to transform
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:47:54 +0200 by phpDocumentor 1.4.1