Archive for the ‘CakePHP’ Category
The web is a global resource for anything, anywhere, any timezone. But often times we are careless in consideration for people in other areas of the world. The different timezones offset people’s schedules from one area to the next. When handling user profiles (or anything for that matter) where date and time is involved we [...]
Not sure if cake has a prettier, more efficient way of grabbing components inside of Shells and Tasks with cakephp’s cli, but here is a way which worked for me. Inside your Task (or Shell) just use the following in a similar manner for your component: class FooTask extends Shell { App::import(‘Component’, ‘Bar’); $this->Bar =& [...]

