$temp = Array(
     0 => Array
         (
             0 => Array
                 (
                     'id' => 2,
                     'task' => 'Circulares.Preparar'
                 )
        ),
     1 => Array
         (
             0 => Array
                 (
                     'id' => 5,
                     'task' => '*.*'
                 )
         )
);

debug(Set::extract($temp, '{n}.0.task'));

// Output:

Array
(
    [0] => Circulares.Preparar
    [1] => *.*
)

On Jan 18, 1:00 pm, "R. Rajesh Jeba Anbiah"
<[EMAIL PROTECTED]> wrote:
> On Jan 18, 5:01 pm, Fran Iglesias <[EMAIL PROTECTED]> wrote:
>    <snip>> ?'ve been trying several paths with Set::extract to get it but my
> > best result is with '{n}.{n}.task', which produces
>
>     <snip>
>
>     FWIW, when I profiled Set class last time, it was relatively huge
> hit.
>
> --
>   <?php echo 'Just another PHP saint'; ?>
> Email: rrjanbiah-at-Y!com    Blog:http://rajeshanbiah.blogspot.com/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to