Sorry nevermind. I do not need actions afterall. Not sure what I was thinking... I can access the models function thru my relations / load Model / Class Reg / which is all I need.
K -----Original Message----- From: Krissy Masters [mailto:[email protected]] Sent: Monday, March 21, 2011 7:30 PM To: '[email protected]' Subject: Internal Actions Maybe I just simply overlooked that chapter but like related models you can use functions from various controllers easily. Can this be done for controller actions? I have an application and upon logging in every controller / page is locked restricting user from doing anything except completeting required information / contact info / email confirmation stuff like that in my welcomes_controller. Yet these actions such as confirm_email are in other controllers (which get accessed normally once user has completed registration ie contact info gets updated in Users_controller, email info in profiles_controller and so on) So my question is how can I use confirm_email function in users_controller / model by requesting it from welcomes_controller? And will beforeFilter allow this access internally since any request to anything other than welcomes_controller gets redirected back to welcome? Thanks, K -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
