Re: stripslashes

From: Date: Mon, 05 Feb 2001 18:04:48 +0000
Subject: Re: stripslashes
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-67@lists.php.net to get a copy of this message
On Mon, 05 Feb 2001, Monte Ohrt wrote: > You don't really have to make a smarty_mod_function for this, just call > the php function directly: > > {$text|stripslashes} > > Of course if you really wanted to shorten the name to sslashes, then you > do have to write your wrapper like you did below. No, he only has to alias it to 'stripslashes', no need to write a wrapper. -Andrei * Think digital, act analog. *

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