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:
>
> I gave up using enum.
> Thanks.
> Em Thu Jan 15 2015 at 17:31:51, Leandro Machado Pereira <
> [email protected] <javascript:>> escreveu:
>
>> Hey guy, I tried to do work my fields with mysql ENUM.
>>
>> In cake 2.0 i used this helper.
>>
>>
>> http://www.drawbackz.com/stack/251186/cakephp-2-0-use-mysql-enum-field-with-form-helper-to-create-select-input.html
>>
>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to