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.
However I would also like to call this function from another controller when I am displaying a form which manages data across multiple models. I believe I could use requestAction(), but the CookBook states "It is rarely appropriate to use in a controller or model" so how do I go about this in the most efficient manner? Thanks, Paul. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
