Re: Using a Component in controller-beforeFilter in 1.2
Ok, thanks On May 30, 11:23 pm, gwoo [EMAIL PROTECTED] wrote: Components help out controllers with common business logic, so first intialize, then modify in beforeFilter, then startup some automagic. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using a Component in controller-beforeFilter in 1.2
Probably need to change startup to initialize --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using a Component in controller-beforeFilter in 1.2
Well that's what ticket #2667 is saying. It's just that to me it sounds like startup() is pretty important to get done before using the component. But that's just based on the function name. Who know it could be a leftover relic. Would like to understand a bit more about it before I do anything on my own or just know that I shouldn't be using components inside beforeFilter. :) --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Using a Component in controller-beforeFilter in 1.2
Components help out controllers with common business logic, so first intialize, then modify in beforeFilter, then startup some automagic. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---