Re: Recursion

From: Date: Thu, 10 Apr 2003 13:48:41 +0000
Subject: Re: Recursion
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-1126@lists.php.net to get a copy of this message
Daniel Pupius wrote: Hi, > Is it possible to ouput recursive arrays or objects from smarty. If > for example I have something like this: > > $object > ->id > ->title > ->children > > Where children is an array of objects of the same class as $object, > can I loop through them and print them out as nested <UL>s. If not @see here: http://dev.feth.com/PHP/Smarty/function.html_list.phps greets, Joscha

« previous php.smarty.dev (#1126) next »