Just for day names and format you need helpers/behavior and components? Pray why?
How you display a date is purely a View problem, rest of your code (controllers and models) should have to just deal with date values which are recognized by PHP and your database. Cheers Tarique On Wed, Feb 16, 2011 at 10:18 PM, Matthias <[email protected]> wrote: > I built my own helper for converting dates, because I need to deal > with german day names, and now I need the same helper in controllers, > models and views. I like the concept of helpers, components etc, but > how do I organize this "helper" so I don't need to repeat myself by > creating a DateFormatHelper, a DateFormatComponent and a > DateFormatBehaviour? > > -- > 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 > -- ============================================================= PHP for E-Biz: http://sanisoft.com ============================================================= -- 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
