I believe one way to achieve this is by using: $this->render()
http://api.cakephp.org/class/app-controller#method-AppControllerrender from your controller and render the view you want. This would likely be based on certain conditions based on your previous email. So you would end up with a case statement and then rendering the view you want. Regards, Alfredo On Tue, Mar 10, 2009 at 10:02 AM, tibit <[email protected]> wrote: > > Hi, > i have a question about cakephp views , i want to have diferent views > using the same function from controller.Is this possible? > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
