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

Procedural File: modifier.pnvarprepfordisplay.php

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



Page Details:

Zikula Application Framework



Tags:

version:  $Id: modifier.pnvarprepfordisplay.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_pnvarprepfordisplay [line 34]

string smarty_modifier_pnvarprepfordisplay( array $string)

Smarty modifier to prepare a variable for display

This modifier carries out suitable escaping of characters such that when output as part of an HTML page the exact string is displayed.

Running this modifier multiple times is cumulative and is not reversible. It recommended that variables that have been returned from this modifier are only used to display the results, and then discarded.

Example

<!--[$MyVar|pnvarprepfordisplay]-->




Tags:

return:  the modified output
author:  The pnCommerce team
see:  modifier.pnvarprephtmldisplay.php::smarty_modifier_DataUtil::formatForDisplayHTML()
since:  16. Sept. 2003


Parameters

array   $string   the contents to transform
[ Top ]



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