Excellent!

Contrary to my earlier post, <a href="http://php-coding-practices.com/
cakephp-specific/how-to-put-combined-fields-into-cakephps-model-
generatelist/">myGenerateList</a> does work across Models!



Tim Koschützki has really come up with a great one here.

Thanks to all who helped me out with this one!



Beertigger


On Aug 14, 6:34 am, Beertigger <[EMAIL PROTECTED]> wrote:
> Not... enough... caffeine...
>
> Thanks </chagrin>
>
> On Aug 14, 4:11 am, "Geoff Ford" <[EMAIL PROTECTED]> wrote:
>
> > Try $listdata[$data['Team']['team']] = $data['Sport']['sport'] . '-' .
> > $data['Team']['team'];
>
> > This missing square bracket you put in the wrong place.
>
> > Geoff
>
> > On 8/14/07, Beertigger <[EMAIL PROTECTED]> wrote:
>
> > > Thanks, Geoff,
>
> > > I caught that one earlier, also found what I think was a missing ] to
> > > close the
>
> > > $listdata[$data['Team']['team'] = $data['Sport']['sport'] . '-' .
> > > $data['Team']['team'];
>
> > > now: $listdata[$data['Team']['team'] = $data['Sport']['sport'] . '-' .
> > > $data['Team']['team']];
>
> > > Still no smiles from heaven for this one....
>
> > > Beertigger
>
> > > On Aug 13, 7:30 pm, "Geoff Ford" <[EMAIL PROTECTED]> wrote:
> > > > You've got a error in the getListData function - remove the curly barce
> > > > between the end of the query and $listdata = array();
>
> > > > Geoff
>
> > > > On 8/14/07, Beertigger <[EMAIL PROTECTED]> wrote:
>
> > > > > Found this one earlier. What myGenerateList does, it does very well,
> > > > > much easier than using an afterFind to concat things. But, from what I
> > > > > can tell thus far, it has the same limitation, in that it can't
> > > > > combine data across two models and display it in a third.
>
> > > > > On Aug 13, 2:58 pm, cdomigan <[EMAIL PROTECTED]> wrote:
>
> > >http://php-coding-practices.com/cakephp-specific/how-to-put-combined-...
>
> > > > --http://lemoncake.wordpress.com
>
> > --http://lemoncake.wordpress.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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