Function as an argument to a function in a template file.

From: Date: Wed, 05 Sep 2001 02:13:37 +0000
Subject: Function as an argument to a function in a template file.
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1430@lists.php.net to get a copy of this message
Hi there. Does Smarty support passing the result of a function call as an argument to another function? Assuming two functions: a() and b(): In PHP print( a( b( "X" ))); is valid. Is there any way to do the same thing in a template file? This, of course, assumes that the functions have been registered with Smarty. Thanks in advance, Dave ---------------------------------------------------------------------------- David M. Patterson Voice: 714-532-4492 Consulting Software Engineer Fax: 253-679-8673 Web/Php Development email: phpdev@dplhenterprises.com "Artificial Intelligence is no match for natural stupidity" ----------------------------------------------------------------------------

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