I've posted a little how-to on implementing your custom data source driver here:
http://otaqui.com/blog/402/custom-model-and-field-result-set-in-cakephp/ Thanks for the code! On Feb 5, 12:17 pm, grigri <[email protected]> wrote: > 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 <[email protected]> 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 [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 -~----------~----~----~----~------~----~------~--~---
