Re: [SMARTY] Smarty 'unescape' variable modifier ?

From: Date: Wed, 24 Mar 2004 17:22:14 +0000
Subject: Re: [SMARTY] Smarty 'unescape' variable modifier ?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11174@lists.php.net to get a copy of this message
Mar 24 at 5:30pm, Artur Pydo wrote: > Artur Pydo wrote: > > I would like to display them and was looking for a > > 'unescape' modifier in Smarty. > > I had messju's and Curus answer on IRC : > {$var|stripslashes} > > stripslashes() is a php function but there is no need to > use register_modifier for php functions. MAAANNNN!! Smarty never stops blowing me away.. I have read most all of the documentation (I thought) and was not aware of this.. This works with ANY php built-in? Is it documented anywhere that I can read more about it? Also, I have been meaning to test this, but if I declare a function named Smarty_modifier_xyz() is it used as if it were a registered plugin? -- Kelly Hallman // Ultrafancy

« previous php.smarty.general (#11174) next »