# |
Oct 6th 2016, 21:13 |
savant |
you can |
# |
Oct 6th 2016, 21:12 |
Unfaiir |
I'm building a custom helper for cakephp 2.x, can I throw InvalidArgumentException() inside a helper function? or is there a better CakePHP way? |
# |
Oct 6th 2016, 21:01 |
dereuromark |
Neo: whats up? |
# |
Oct 6th 2016, 20:57 |
tokam |
Hello |
# |
Oct 6th 2016, 20:49 |
dereuromark |
you should also use dashed route if possible |
# |
Oct 6th 2016, 20:49 |
dereuromark |
you got lucky:) |
# |
Oct 6th 2016, 20:48 |
tokam |
and it works |
# |
Oct 6th 2016, 20:48 |
tokam |
I used _ |
# |
Oct 6th 2016, 20:48 |
dereuromark |
tokam why should that be any different? https://github.com/dereuromark/cakephp-sandbox/blob/3.0/plugins/AuthSandbox/config/routes.php#L17 |
# |
Oct 6th 2016, 20:47 |
slackebot |
Action: dereuromark hides |
# |
Oct 6th 2016, 20:35 |
NeoThermic |
dereuromark, you about? :) |
# |
Oct 6th 2016, 20:27 |
nightmare_ |
who find in diferent controller |
# |
Oct 6th 2016, 20:26 |
nightmare_ |
alguem pode me ajudar |
# |
Oct 6th 2016, 20:26 |
nightmare_ |
gostaria de saber como fazer um find no pages controller na versão 3.0 |
# |
Oct 6th 2016, 20:13 |
tokam |
Hello, how to write a controller name in the routes.php if the controller uses a CammelCaseName ? |
# |
Oct 6th 2016, 19:20 |
nemmons |
@Leidnfront http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html I might be leading you in the wrong direction, it was just a guess. |
# |
Oct 6th 2016, 19:18 |
Leidenfrost |
nemmons I'm looking on how to do that, but all the info is for cake 3 |
# |
Oct 6th 2016, 19:10 |
nemmons |
have you tried using contain to explicitly load the associations rather than just relying on recursion? |
# |
Oct 6th 2016, 19:01 |
Leidenfrost |
Ok. I have recursion set to 2, but for some reason Manager doesn't show Vendors, even if it still is an User model and Vendor has the right association |
# |
Oct 6th 2016, 18:57 |
admad |
We just need to make @markstory spend less time with his family xP |
# |
Oct 6th 2016, 18:56 |
admad |
4.0 by end of 2017 might be possible |
# |
Oct 6th 2016, 18:56 |
admad |
Heh |
# |
Oct 6th 2016, 18:56 |
hmic |
let's say 2017 too :D |
# |
Oct 6th 2016, 18:56 |
hmic |
well, i'd call some things out: it will be a "seven" release: php7, PSR7 |
# |
Oct 6th 2016, 18:56 |
admad |
Remember we don't get paid a dime for this :P |
# |
Oct 6th 2016, 18:55 |
hmic |
its not even defined, as its unknown what should be in... |
# |
Oct 6th 2016, 18:55 |
nemmons |
no rush here. 3.x is incredible. |
# |
Oct 6th 2016, 18:55 |
nemmons |
:-) fair enough |
# |
Oct 6th 2016, 18:55 |
admad |
@nemmons "when it's ready" is always the official eta :) |
# |
Oct 6th 2016, 18:54 |
hmic |
rather a bit faster i think. but still 2 years in very very likely. admad, your bet? |
# |
Oct 6th 2016, 18:54 |
hmic |
3 years from looking at the past :p |
# |
Oct 6th 2016, 18:54 |
admad |
Authentication is gonna be done is a middleware in future, so this particular issue will be gone |
# |
Oct 6th 2016, 18:54 |
nemmons |
like, 1 year 3 years etc |
# |
Oct 6th 2016, 18:54 |
hmic |
i think mark had a comment on my PR/issue talking about not even 4.0... :p |
# |
Oct 6th 2016, 18:54 |
nemmons |
is there any rough idea of when 4.0 is coming? |
# |
Oct 6th 2016, 18:52 |
admad |
Can't do anything until 4.0 so meh :P |
# |
Oct 6th 2016, 18:51 |
hmic |
admad, i changed the execution order instead of renaming IMHO, but still. it breaks like everything in eigher case |
# |
Oct 6th 2016, 18:51 |
nemmons |
good idea |
# |
Oct 6th 2016, 18:51 |
hmic |
nemmons: share it on the book! |
# |
Oct 6th 2016, 18:51 |
admad |
beforeFilter should be renamed to startup() |
# |
Oct 6th 2016, 18:51 |
nemmons |
I'm going to sit down and draw out a diagram |