Hi
I have this array:
Array
(
[0] => Array
(
[0] => Array
(
[id] => 2
[task] => Circulares.Preparar
)
)
[1] => Array
(
[0] => Array
(
[id] => 5
[task] => *.*
)
)
)
I want to get an array like this
Array {
[0] => Circulares.preparar
[1] => *.*
}
?'ve been trying several paths with Set::extract to get it but my
best result is with '{n}.{n}.task', which produces
Array
(
[0] => Array
(
[0] => Circulares.Preparar
)
[1] => Array
(
[0] => *.*
)
)
I would like to know if there is a way to achieve this using the Set
class or I need to "postproccess" the result.
I've read the API, and http://www.thinkingphp.org/2007/02/24/cake-12s-
set-class-eats-arrays-for-breakfast/ without success.
TIA
--
Fran Iglesias
[EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---