Since nobody wants to answer... How are you solving your problem, Mr-Yellow? :)
Linas On Oct 1, 12:50 pm, Linas <[EMAIL PROTECTED]> wrote: > Hey, I came to tell about my problem and found your post. > My problem is somewhat similar to yours: > I have two models related with hasMany relation (lets say, A hasMany > B), both using TranslateBehavior. When I fetch A from database, it has > it's translated fields, however all B records don't have them. If I > fetch B directly, it has its translated fields. > This is a common use case, I believe, so it shouldn't be a bug. But > how do I make it work? > > Linas > > On Oct 1, 12:28 pm, AD7six <[EMAIL PROTECTED]> wrote: > > > On Oct 1, 9:21 am, Mr-Yellow <[EMAIL PROTECTED]> wrote: > > > > I have a custom wiki markup behaviour. > > > > By adding this behaviour to a model the afterFind callback checks the > > > data for fields specified in the behaviour params and create a mirror > > > field "wiki".$whateveritwascalled which has the content formatted. > > > Doesn't that scream view logic in a model? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
