Re: [SMARTY] nested functions with register_function - help

From: Date: Thu, 19 Dec 2002 05:44:33 +0000
Subject: Re: [SMARTY] nested functions with register_function - help
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6889@lists.php.net to get a copy of this message
you can't nest delimiters. {adj_int_number myvar=$domains[domain_idx].count} full examples are in the manual. Monte Max Clark wrote:
Hi- I have registered a function with smarty that exists within php. It is a function that formats the display of the output. How do I write this template? Below is my current code. Thanks in advance, -Max in php: $smarty->register_function("adj_int_number", "adj_int_number"); in the template: {adj_int_number {$domains[domain_idx].count}}


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