Re: get access from one controller to another

2007-09-15 Thread millZ
Oh Thanks, that works fine :-). yours faithfully --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, sen

Re: get access from one controller to another

2007-09-15 Thread AD7six
On Sep 15, 1:24 am, millZ <[EMAIL PROTECTED]> wrote: > Hello, > > how is it possible to call functions of a Controller > (EventsController) in another Controller (VisitsController)? > > The models are connected with > visits:belongsto Events > events: hasMany Visits > > I've tried to call "$this

RE: get access from one controller to another

2007-09-14 Thread Ryan Rose
Try requestAction: http://manual.cakephp.org/chapter/controllers Regards, Ryan Rose Vice President Digiwize, Inc. One Technology Drive Tolland, CT 06084 e: [EMAIL PROTECTED] p: 860.730.2631 http://www.digiwize.com -Original Message- From: cake-php@googlegroups.com [mailto:[EMAIL PROTEC