I'm looking for a solution for deep arrays like this:
Collection(1-n)->Dress(0-n)->Image(0-n)->path
The parser of
- Code: Select all
<!-- loop -->
Loop Collection will create:
- Code: Select all
foreach($data['Collection'] as $k1=>$v1)
- Code: Select all
{$v1->collection_name;}
But Loop on Dresses
- Code: Select all
<!-- loop Collection' value.@Dress -->
- Code: Select all
foreach($v1 as $k2=>$v2):
- Code: Select all
foreach($v1->Dress as $k2=>$v2):
What I see is the Problem in looping object attributes ("Collection' value.@Dress"). In a different way (but sub-optimal)
- Code: Select all
<!-- loop Collection' value' -->
- Code: Select all
<!-- if (Collection' value' key') == 'Dress' -->
I hope, there is a way in parsing loop elements to make this better.
But "in Großem und Ganzem" (is german and means the wohole thing) DooPHP is very nice!
UmbertoKo
