Hi dudes,
I've a problem with Set::extract when using multiple filters. Lets say
i have an array $my_posts which contains a bunch of nested newspost-
arrays, and now i want all posts from an author named "pete" which are
not hidden:
$result = Set::extract('/Posts[author=pete and hidden=0]/.',
$my_posts);
For some reason this does not work (and $my_posts definitley contains
entries that would macht). With just one filter-statment it works
fine.
Is the syntax correct?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---