Log message #3940212

# At Username Text
# Sep 29th 2016, 13:25 Speud je l'ai écrit comme ca
# Sep 29th 2016, 13:25 Speud no toujours pareil....
# Sep 29th 2016, 13:25 SpoutBE_ le champ doit etre du genre name="foo[]"
# Sep 29th 2016, 13:24 SpoutBE_ Si c'est un checkbox multiple
# Sep 29th 2016, 13:24 Speud aaaaaarg no je pense pas :P
# Sep 29th 2016, 13:24 SpoutBE_ bon j'ai pas de projet sous la main pr tester lol
# Sep 29th 2016, 13:24 SpoutBE_ fail ok :D
# Sep 29th 2016, 13:23 Speud http://pastebin.com/cP5Kumhc
# Sep 29th 2016, 13:23 SpoutBE_ et tu as bien utilisé le machin 'multiple' => 'checkbox'
# Sep 29th 2016, 13:23 Speud Lool la il me met le hiddenfield en resulat ;) (je te montre)
# Sep 29th 2016, 13:22 Speud ah pas testé, j'ai essayé avec ids...je test, je te dit ça
# Sep 29th 2016, 13:22 SpoutBE_ et Kpitypes.0.id[]
# Sep 29th 2016, 13:22 Speud http://pastebin.com/RisKQSz7
# Sep 29th 2016, 13:20 Speud ben yes, j'ai meme remplacé par un $x mais rien n'y fait, en id, j'ai toujours le résultat de la checkbox....
# Sep 29th 2016, 13:19 SpoutBE_ vu*
# Sep 29th 2016, 13:19 Speud yes I know ;)
# Sep 29th 2016, 13:19 SpoutBE_ Ah oki j'avais pas vi que 0 à 23
# Sep 29th 2016, 13:19 SpoutBE_ id != key
# Sep 29th 2016, 13:18 Speud @spoutBe, pourtant ils sont bien nommés tel que cake l'indique dans sa doc....;)
# Sep 29th 2016, 13:18 SpoutBE_ http://php.net/manual/fr/language.oop5.traits.php
# Sep 29th 2016, 13:18 kitcat711 j'ai lu trop vite
# Sep 29th 2016, 13:18 kitcat711 non c bon
# Sep 29th 2016, 13:18 Speud le trait ?
# Sep 29th 2016, 13:18 kitcat711 oh ok
# Sep 29th 2016, 13:17 SpoutBE_ blague ?
# Sep 29th 2016, 13:17 kitcat711 je l'utilise comment?
# Sep 29th 2016, 13:17 SpoutBE_ encore et tjs
# Sep 29th 2016, 13:17 SpoutBE_ Encore une erreur que tu n'aurais pas eu avec phpstorm :D
# Sep 29th 2016, 13:16 SpoutBE_ tu l'as pas utilisé
# Sep 29th 2016, 13:16 SpoutBE_ @kitcat711: ton trait tu l'as juste loadé
# Sep 29th 2016, 13:15 Speud je l'ai nommé comme ça, v->id va de 0 à 23 ;)
# Sep 29th 2016, 13:15 Speud yes indeed
# Sep 29th 2016, 13:15 SpoutBE_ http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data
# Sep 29th 2016, 13:15 SpoutBE_ ...
# Sep 29th 2016, 13:15 SpoutBE_ Kpitypes.1.id
# Sep 29th 2016, 13:15 SpoutBE_ Kpitypes.0.id
# Sep 29th 2016, 13:13 kitcat711 Hello, using getMailer from a UsersTable, Why do I get an unknown method error here: https://gist.github.com/anonymous/a8bdcc71fffcacbdbc64b40e365d1842
# Sep 29th 2016, 13:13 Speud d'après la doc de cake, il faut les nommer tel quel
# Sep 29th 2016, 13:13 Speud mais il me met l'id dans la clef...: http://pastebin.com/RisKQSz7
# Sep 29th 2016, 13:12 Speud <?= $this->Form->checkbox('Kpitypes.'.$v->id.'.id', ['id' => $v->id]); ?>
# Sep 29th 2016, 13:12 Speud je dois sauvegarder un ensemble de checkbox belongsToMany (cake3) que j'ai nommé comme ça: