Enums are a bad thing anyway.
-- Better use sth of the options listed @ http://www.dereuromark.de/2010/06/24/static-enums-or-semihardcoded-attributes/
mark
Am Donnerstag, 15. Januar 2015 23:18:45 UTC+1 schrieb Leandro Machado Pereira:
Am Donnerstag, 15. Januar 2015 23:18:45 UTC+1 schrieb Leandro Machado Pereira:
I gave up using enum.
Thanks.Em Thu Jan 15 2015 at 17:31:51, Leandro Machado Pereira <llper...@gmail.com> escreveu:--Hey guy, I tried to do work my fields with mysql ENUM.In cake 2.0 i used this helper.But in cake 3.0 i'm have dificults for work fine.I received errors in this line.$modelKey = $this->model();and in this line:$this->fieldset[$modelKey]['fields'][$fieldName]['type'], So, does somebody have any suggestions ?Thanks.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com .
To post to this group, send email to cake...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php .
For more options, visit https://groups.google.com/d/optout .
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment