Re: [SMARTY] Multiple Parameter Function
| From: | messju mohr | Date: | Mon, 10 Jan 2005 09:30:19 +0000 |
| Subject: | Re: [SMARTY] Multiple Parameter Function | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12133@lists.php.net to get a copy of this message | ||
On Sun, Jan 09, 2005 at 09:04:34PM -0800, Robert Kraig wrote:
> How would i pass multiple parameters to a function in smarty, like
>
> {index.php,4|Forward}
it's {"index.php"|Forward:4}
see: http://smarty.php.net/manual/en/language.modifiers.php
HTH
messju
> from this function
>
> function Forward($location,$timer) {
> return "<META HTTP-EQUIV=\"refresh\" CONTENT=\"".$timer.";
> URL=".$location."\">";
> }
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php