Or not use a helper, controller or behavior. Just because you are using Cake doesnt mean you have to ditch PHP conventions all together.
Just create a static class, include it, and use it statically anywhere in your application. DateFormat::convert(); On Feb 16, 10:01 am, 100rk <[email protected]> wrote: > And another correction (it was written right here, sorry): > > > public function prettyDate($Model, $timestamp) { > > $alias = $this->_getAlias($Model); > > return date($this->settings[$alias], $timestamp); > > } > > return date($this->settings[$alias]['format], $timestamp); -- 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
