Just to add..... This behaviour calls a vendor and processes the markup for all the returned entries on the fields specified in the behaviour params.
Thus it's faster to call this up once when the model is retrieved and process the data in one batch, then it is to put in a helper and load it up everytime a markup translation is needed. Also gives the benefit of having both versions of the content available at all times without any further processing. Anyway..... Behaviour callbacks and threaded finds? -Ben On Oct 1, 7: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 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 -~----------~----~----~----~------~----~------~--~---