# [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] =
114302
-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] = stdClass
Object
( [iId] = 1 [sName] = Cars
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
3 matches
Mail list logo