Object-handling problem with 2.4.1

From: Date: Mon, 10 Feb 2003 13:58:11 +0000
Subject: Object-handling problem with 2.4.1
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7617@lists.php.net to get a copy of this message
Hi I\'ve a little problem with the new version 2.4.1. Code description: I\'ve an array with a few values and need this to \"walk\" through an object. example: $arr = array(\"foo\",\"bar\") in the smarty-template i\'ve to do this: {foreach from=$arr item=entry} {$object->$entry} {/foreach} in smarty-version 2.3.1 it worked well for me. is there a solution to work with the new version 2.4.1? Greetings and thanks a lot Mischa

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