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
Day: September 16, 2008
Update (9/16/2008): As some people pointed out it’s easier to use the h() method defined in basics.php of the core, it achieves the same basic
Let’s say you have a Posts controller, where you’ll need to paginate some posts in various actions. You might have some “generic settings” as the