MySQL SET and ENUM types in CakePHP framework

Posted by Andrew Bashtannik on Stack Overflow See other posts from Stack Overflow or by Andrew Bashtannik
Published on 2011-01-13T13:52:24Z Indexed on 2011/01/13 13:53 UTC
Read the original article Hit count: 333

Filed under:
|
|
|

Hi!

I need to use SET and ENUM types in my CakePHP 1.3 project. I found some advices, but all them are too old (2004-2006) and full of crazy methods, like modifying cake's core files. Also, CakePHP developers said that SET and ENUM types are not supported.

Example:

I have

SET('alpha','beta')

field, and I need to use this data as checkboxes in add & edit actions.

Is there any way to add normal support (Form helpers etc.) of SET and ENUM fields?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql