Nice trick to toggle your Model field in CakePHP
This little trick will allow you toggle any field, for example ‘status’ which can be either 0 or 1…
Add this little function to your model or better yet, app model:
These were the top 10 stories published by Zen of Coding in September of 2008. You can also dive into daily archives for September of 2008 by using the calendar at the top of this page.