Sure thing. This is a copy of my overridden datasource for a project I did last month: http://bin.cakephp.org/view/1781729779
It: handles the above thingy, performs a backtrace on queries so you can tell which file/function generated which query (neat for debugging) and syntax-highlights it. Each of these functions is in a separate... function. So if you only want one of them then delete the other functions. Has anyone else overridden the datasource for other useful purposes? hth grigri On Feb 4, 9:56 pm, Miles J <mileswjohn...@gmail.com> wrote: > Awesome, can you give an example/snippet of overriding the datasource > to do just that? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---