Menu

#9 modifier for variable

open
nobody
None
5
2008-10-14
2008-10-14
No

In smarty, it's possible to use a modifier to apply some modification to a given variable. This modifier are predefined function in a given file

it's work somehow like a pipe in bash

for instance

myvar|cleanXSS

myvar|replace:"xx":"yy"

The evolution would consist to port this for HTML::template

www.smarty.net/manual/en/language.modifiers.php

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.