# |
Dec 29th 2018, 01:15 |
dereuromark |
I had to do sth similar: https://github.com/dereuromark/cakephp-tags/blob/master/src/Model/Behavior/TagBehavior.php#L105 |
# |
Dec 29th 2018, 01:14 |
dereuromark |
possibly |
# |
Dec 29th 2018, 01:13 |
itmpls |
do i have to do something with $_accessible perhaps? |
# |
Dec 29th 2018, 01:11 |
itmpls |
it is clearly dirty |
# |
Dec 29th 2018, 01:11 |
itmpls |
the patched entity has 3 records for 'trades', the original has 2 |
# |
Dec 29th 2018, 01:11 |
itmpls |
save strategy of replace make a difference? |
# |
Dec 29th 2018, 01:11 |
itmpls |
it's done through a join table etc |
# |
Dec 29th 2018, 01:11 |
dereuromark |
hm |
# |
Dec 29th 2018, 01:11 |
itmpls |
yes |
# |
Dec 29th 2018, 01:11 |
dereuromark |
did you patch it? |
# |
Dec 29th 2018, 01:10 |
itmpls |
is it just not optimal to do that check? |
# |
Dec 29th 2018, 01:10 |
itmpls |
even though it clearly is? |
# |
Dec 29th 2018, 01:10 |
itmpls |
@dereuromark is there something that prevents a belongsToMany from being marked as dirty? |
# |
Dec 29th 2018, 01:09 |
dereuromark |
@asdfgh in the end it doesnt matter much, one just gets auto-detected more easily, others need a bit of config |
# |
Dec 29th 2018, 01:08 |
dereuromark |
jep, possible. see how the tags plugin does it |
# |
Dec 29th 2018, 00:53 |
itmpls |
do I need to manually mark it as dirty, or? |
# |
Dec 29th 2018, 00:53 |
itmpls |
how come my belongsToMany isn't being marked as dirty? |
# |
Dec 29th 2018, 00:52 |
asdfgh |
which follow the cake conventions? |
# |
Dec 29th 2018, 00:52 |
asdfgh |
agents_jobs_assessments or agent_job_assessments or agent_jobs_assessments |
# |
Dec 29th 2018, 00:51 |
asdfgh |
what name should i use? |
# |
Dec 29th 2018, 00:51 |
asdfgh |
last question for this night...at the moment i have these tables: agents, jobs, agents_jobs now i have to create something like agents_jobs_assessments so basically i table that is pointing to the PK of the agents_jobs table |
# |
Dec 29th 2018, 00:30 |
asdfgh |
too late here ahah |
# |
Dec 29th 2018, 00:30 |
asdfgh |
nevermind :) |
# |
Dec 29th 2018, 00:30 |
asdfgh |
OPS OK |
# |
Dec 29th 2018, 00:24 |
dereuromark |
> the definition of cake ;) |
# |
Dec 29th 2018, 00:24 |
dereuromark |
if you google it you find "rapid app development" |
# |
Dec 29th 2018, 00:19 |
asdfgh |
dereuromark, pardon for the stupid question but, what do you mean with cake ""RAD"" ? |
# |
Dec 29th 2018, 00:15 |
dereuromark |
why would you need an extra plugin |
# |
Dec 29th 2018, 00:15 |
dereuromark |
isnt cake RAD enough to make any survey easily?^^ |
# |
Dec 29th 2018, 00:09 |
asdfgh |
is there a good survey plugin for cakephp 3.7 ? |
# |
Dec 29th 2018, 00:09 |
asdfgh |
hello |
# |
Dec 28th 2018, 22:55 |
dereuromark |
depending on if you also need prefixed ones etc. |
# |
Dec 28th 2018, 22:55 |
dereuromark |
you can otherwise also see what IdeHelper does to list all. |
# |
Dec 28th 2018, 21:49 |
challgren |
@joopm https://stackoverflow.com/questions/25892594/list-all-controllers-actions-in-cakephp-3 |
# |
Dec 28th 2018, 21:14 |
joopm |
i would like to get a list about the controllers |
# |
Dec 28th 2018, 21:14 |
joopm |
in 3 |
# |
Dec 28th 2018, 21:14 |
joopm |
but i havent read about if it was illuminated |
# |
Dec 28th 2018, 21:13 |
joopm |
App::objects('Controller');,this was supperted in 2 |
# |
Dec 28th 2018, 21:13 |
joopm |
i would like to use something from cakephp2 in cakephp3 |
# |
Dec 28th 2018, 21:12 |
joopm |
hello all |
# |
Dec 28th 2018, 19:45 |
tomas.saghy |
and I somehow cannot get the idea how to replace `notEmpty` with for instance `allowEmptyString` |