Thursday, January 15, 2015

Re: 3.0 e mysql fields ENUM

I gave up using enum.
Thanks.
Em Thu Jan 15 2015 at 17:31:51, Leandro Machado Pereira <llpereiras@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+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.

--
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: