Closed dominiccliff closed 7 years ago
First of all, I apologize for taking so long to respond, I have changed my address, my internet service provider has left me without services for almost three months and then the laptop has touched me to take it to repair.
Have you found the solution yet?
I check the code that you sent me and I will respond soon.
Hi @dominiccliff,
Try this:
$cos = $this->Acl->Aco
->find('all')
->matching('Aros', function(\Cake\ORM\Query $q) {
return $q->where(['Aros.id' => 3]);
})->toArray();
If I understood you correctly. This works for me.
Regards!
@ivanamat I'm able to fetch the list of all acos. But I'm not able to fetch only those acos for a particular aros.
This is the code that I tried.
is it possible to achieve the result?
Thanks for the plugin!