A Picklist Component for CakePHP
February 12th, 2007 by Sarah KingI needed to have a table holding all my picklists, to make them easier to edit and manage. It’s a large application so there will be lots of drop downs and radio buttons, states and status fields.
I started with my picklist table Read the rest of this entry »
A Radio List in a table for CakePHP
June 9th, 2006 by Sarah KingI wanted to present a range of choices in a nicely formatted table and couldn’t see helper to do the job – so this is my first snippet for Cake PHP. I doubt it’s perfectly cake (for instance I do the header row myself rather than using the html helper, and I concatenate a string rather than building an array)
In this instance I added the function radioTable to a helper called “fed” and gave it the standard model and field variables. Read the rest of this entry »
