Consider re-factoring your fromData() into a component Tarique
On Tue, Jan 27, 2009 at 5:55 PM, WebbedIT <[email protected]> wrote: > > In most of my controllers I have a __formData() function which creates > any arrays for select lists, radio buttons, check-boxes etc. I can > then call this from the add() and edit() actions and save some lines > of code etc. -- ============================================================= Cheesecake-Photoblog: http://cheesecake-photoblog.org PHP for E-Biz: http://sanisoft.com ============================================================= --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
