On Feb 8, 12:48 pm, Alfredo Quiroga-Villamil <laww...@gmail.com>
wrote:
> Just trying to find out the answers now for Questions 1 and 2.

Regarding question #1, after doing some quick testing it seems that
using the mysql functions in the fields array is causing the result of
that field to be placed in the integer-based index. I only tried it
for 'ifnull', but as soon as I removed that function and just had
'Model.field as RenamedField', it placed it into the correctly keyed
index. I wasn't able to find a way to force renaming of the keys for
fields with these functions in them.

To answer question #2, you could try: Set::classicExtract
($aDestinationSummary, '{n}.0');
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to