# |
Mar 15th 2018, 09:24 |
saeideng |
and |
# |
Mar 15th 2018, 09:24 |
saeideng |
not in interface |
# |
Mar 15th 2018, 09:24 |
neon1024 |
lol |
# |
Mar 15th 2018, 09:24 |
saeideng |
but in a class |
# |
Mar 15th 2018, 09:24 |
saeideng |
>I would like to implement these methods, which is why I aksed about the implementation details these method implemented |
# |
Mar 15th 2018, 09:23 |
neon1024 |
Do you know what the methods intended functionality is? |
# |
Mar 15th 2018, 09:23 |
neon1024 |
I would like to implement these methods, which is why I aksed about the implementation details |
# |
Mar 15th 2018, 09:23 |
neon1024 |
As they allow the interface to provide soft requirements for implementation in classes which implement the interface, as my class does |
# |
Mar 15th 2018, 09:22 |
neon1024 |
Well sort of, but they also allow backwards compatible updates to the interface |
# |
Mar 15th 2018, 09:22 |
saeideng |
but that for phpstan |
# |
Mar 15th 2018, 09:22 |
saeideng |
I know |
# |
Mar 15th 2018, 09:22 |
neon1024 |
As you can see in the link I provided |
# |
Mar 15th 2018, 09:21 |
neon1024 |
@saeideng They are enforced by the interface |
# |
Mar 15th 2018, 09:14 |
nisseni |
Trying again: Is there a way to see which controller is denying access with the Tools.Tiny plugin? I have the correct settings in my acl file and if I clear the cake cache I get access. When I come back later I have no access again. Can't figure out the problem... It works fine on my local server but not on the test server. |
# |
Mar 15th 2018, 09:13 |
saeideng |
class Query extends DatabaseQuery implements JsonSerializable, QueryInterface |
# |
Mar 15th 2018, 09:11 |
saeideng |
query class |
# |
Mar 15th 2018, 09:11 |
saeideng |
these methods implemented in a class |
# |
Mar 15th 2018, 09:10 |
saeideng |
why you need these methods? |
# |
Mar 15th 2018, 09:10 |
saeideng |
hi |
# |
Mar 15th 2018, 08:55 |
neon1024 |
If I let PHP Storm deal with it, it’ll add the @method docblocks and then put in a __call magic method to catch calls to them, which is utter filth |
# |
Mar 15th 2018, 08:54 |
neon1024 |
Or can I just add and `@method` and be happy? |
# |
Mar 15th 2018, 08:51 |
dakota |
The ORM guru (aka Lorenzo) knows all :) |
# |
Mar 15th 2018, 08:50 |
dakota |
Morning |
# |
Mar 15th 2018, 08:50 |
neon1024 |
Does anyone know the implementation details for these methods? https://github.com/cakephp/cakephp/blob/master/src/Datasource/QueryInterface.php#L21-L22 |
# |
Mar 15th 2018, 08:45 |
neon1024 |
Morning |
# |
Mar 15th 2018, 07:34 |
roel |
Hello everyone, I want to learn how to test my code with php unittest. Does anyone have any pointers/best practices or tutorials I can read other than the CakePHP test documentation? Thanks in advance |
# |
Mar 15th 2018, 07:05 |
nisseni |
Is there a way to see which controller is denying access. I have the correct settings in my acl file and if I clear the cake cache I get access. When I come back later I have no access again. Can't figure out the problem... |
# |
Mar 15th 2018, 06:16 |
ksandeep_ |
any one here who can help me in this, I google for it but not found solution |
# |
Mar 15th 2018, 06:01 |
ksandeep_ |
@savant: please find my code here |
# |
Mar 15th 2018, 06:00 |
ksandeep_ |
https://gist.github.com/nakoda/489a3292c4ac17cda227b34a79f89321 |
# |
Mar 15th 2018, 05:55 |
savant |
Note: I might not answer (its 2am here and I'm about to go to sleep) but generally you should show the code in case someone can answer :) |
# |
Mar 15th 2018, 05:54 |
ksandeep_ |
wait i will show you but I know its not fully correct |
# |
Mar 15th 2018, 05:54 |
savant |
Can you show the code you are using? |
# |
Mar 15th 2018, 05:53 |
ksandeep_ |
or can say i have two different tree in same table and want to move on branch from one tree to another |
# |
Mar 15th 2018, 05:52 |
ksandeep_ |
do not know properly how to do it |
# |
Mar 15th 2018, 05:51 |
ksandeep_ |
what i want is move my one category from one scope to another. same time all child need to be change with same scope |
# |
Mar 15th 2018, 05:51 |
ksandeep_ |
It not updating lft and rght properly, might be i am doing something wrong |
# |
Mar 15th 2018, 05:48 |
savant |
What do you mean, its not updating properly? |
# |
Mar 15th 2018, 05:41 |
ksandeep_ |
In my case order is not updating properly and also not clear how to update scope id for all child record |
# |
Mar 15th 2018, 05:40 |
ksandeep_ |
how to move records (parent and its child's) from one scope to another |
# |
Mar 15th 2018, 05:39 |
ksandeep_ |
Hello friends, I need help in tree behavior with scope attribute |