# |
Apr 13th 2018, 17:19 |
jeremyharris |
oh |
# |
Apr 13th 2018, 17:19 |
jeremyharris |
I don’t see a problem with it. |
# |
Apr 13th 2018, 17:19 |
joopm |
i mean |
# |
Apr 13th 2018, 17:19 |
joopm |
from controller there is no arrow pointing to model |
# |
Apr 13th 2018, 17:18 |
joopm |
you |
# |
Apr 13th 2018, 17:18 |
joopm |
do think that the diagram in 3.0 is correct? |
# |
Apr 13th 2018, 17:18 |
jeremyharris |
you’re welcome! |
# |
Apr 13th 2018, 17:18 |
joopm |
hello,okey thnak you for inform me |
# |
Apr 13th 2018, 17:18 |
jeremyharris |
the relationship between controllers and models is the same between 2.x and 3.x, that is, the controller can access models |
# |
Apr 13th 2018, 17:17 |
jeremyharris |
joopm it’s not totally changed, just the dispatch process goes through middleware now |
# |
Apr 13th 2018, 16:33 |
joopm |
its seem there is no arrow from controller to model |
# |
Apr 13th 2018, 16:33 |
joopm |
i am asking you because here : https://book.cakephp.org/3.0/en/intro.html |
# |
Apr 13th 2018, 16:32 |
joopm |
https://book.cakephp.org/2.0/en/getting-started/a-typical-cakephp-request.html |
# |
Apr 13th 2018, 16:32 |
joopm |
i would like to asking you if this still valid or totally changed in 3 : |
# |
Apr 13th 2018, 16:17 |
joopm |
hello all |
# |
Apr 13th 2018, 15:53 |
neon1024 |
Should be as easy as a custom writer right? |
# |
Apr 13th 2018, 15:53 |
neon1024 |
Has anyone used the friendsofcake/cakephp-upload plugin to upload to two places at the same time? |
# |
Apr 13th 2018, 15:06 |
patsuckow |
Hello everyone, I have question about use “Migrations” (Need Help) - https://discourse.cakephp.org/t/question-about-use-migrations-need-help/4166 |
# |
Apr 13th 2018, 14:25 |
narendravaghela |
right, it is there but never tried, actually never needed that kind of thing |
# |
Apr 13th 2018, 14:21 |
neon1024 |
@narendravaghela https://github.com/cakephp/chronos/blob/master/src/Traits/DifferenceTrait.php#L279 |
# |
Apr 13th 2018, 14:16 |
neon1024 |
As `\Cake\i18n\Time` seems to only implement MutableDateTime |
# |
Apr 13th 2018, 14:16 |
neon1024 |
Isn’t it DateTime -> Carbon -> Chronos -> Time? |
# |
Apr 13th 2018, 14:16 |
neon1024 |
Now I need to see if all the gazillion extending classes still implement it |
# |
Apr 13th 2018, 14:15 |
neon1024 |
http://carbon.nesbot.com/docs/#api-humandiff |
# |
Apr 13th 2018, 14:15 |
neon1024 |
Ah, well it’s part of Carbon |
# |
Apr 13th 2018, 13:56 |
narendravaghela |
:) |
# |
Apr 13th 2018, 13:56 |
neon1024 |
Feel free to propose it in a ticket :slightly_smiling_face: |
# |
Apr 13th 2018, 13:54 |
narendravaghela |
Great, and if core members agree, we should add `timeLeftInWords` too. |
# |
Apr 13th 2018, 13:53 |
neon1024 |
Yes, I have a `timeToGoInWords()` method which uses the DateTime diff to count down to a datetime |
# |
Apr 13th 2018, 13:52 |
narendravaghela |
Does it contain the same function? |
# |
Apr 13th 2018, 13:51 |
neon1024 |
Perhaps I should open source my Clock helper |
# |
Apr 13th 2018, 13:47 |
neon1024 |
It would be nice if timeAgoInWords had it’s couterpart timeLeftInWords |
# |
Apr 13th 2018, 12:57 |
neon1024 |
@steinkel Thanks! I’ll try that |
# |
Apr 13th 2018, 12:52 |
mtreu |
ty :) |
# |
Apr 13th 2018, 12:52 |
mtreu |
works fine |
# |
Apr 13th 2018, 12:52 |
btx |
if that doesn't work you probably have an issue somewhere else |
# |
Apr 13th 2018, 12:51 |
btx |
(added the 'IN' to the where) |
# |
Apr 13th 2018, 12:51 |
btx |
you may need $this->Applications->find()->where(['Applications.id IN'=>[14,15]]) |
# |
Apr 13th 2018, 12:50 |
mtreu |
InvalidArgumentException] Cannot convert value to integer in /var/www/html/vendor/cakephp/cakephp/src/Database/Type/IntegerType.php |
# |
Apr 13th 2018, 12:50 |
mtreu |
same error |
# |
Apr 13th 2018, 12:50 |
mtreu |
still not working |