You'll want to read about and use CakePHP's Containable Behavior.
Does CakePhp recursively pull back data?
-
11-06-2023 - |
質問
So i have the following database situation:
Event has a link to many TroupeInfo, TroupeInfo has a sing link to TrouperCategory
As a test I created a controller for TroupeInfo, and it pulls back the correct trouperCategory entry, however if I run the controller for Event, it pulls back just the TroupeInfo dataset, but it does not run the TroupeInfo connection to TrouperCateogory, so my question is does cakephp not recursively pull back data, I am looking to get results like.
Event TroupeInfo Trouepr Category
解決
所属していません StackOverflow