Re: [PHP] parsing objects

2006-12-21 Thread Jochem Maas
Marcus, some facts: 1. you CAN return 'proper' values from a recursive function call. 2. you DONT need a recursive function call to retrieve the properties of these objects. 3. you DONT need a recursive function to build a nested data structure (using the parent<->child ID relationship) with reg

RE: [PHP] parsing objects

2006-12-21 Thread Marcus
us Cc: php-general@lists.php.net Subject: Re: [PHP] parsing objects # [EMAIL PROTECTED] / 2006-12-21 18:06:28 +0200: > Hello > > I have a soap call that returns something like; > > Result from a print_r(); > > stdClass Object ( [getCategoryTreeReturn] => Array ( [0] =>

Re: [PHP] parsing objects

2006-12-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-21 18:06:28 +0200: > Hello > > I have a soap call that returns something like; > > Result from a print_r(); > > stdClass Object ( [getCategoryTreeReturn] => Array ( [0] => stdClass Object > ( [iId] => 1 [sName] => Cars & Motorbikes [iParentId] => 0 [iTreeCount] => >