Tuesday, December 1, 2009

What to use (Component? Helper?) for methods used in both controller and view

Hi!
I have some methods for several tasks that i need not only in
controllers or in views but in both of them. There are helpers for
views and components for controllers. Which of theese would be a
better idea to share my logics. Or is there a third way to do this?
Looking forward for any help from you
Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: