recursion - CakePhp join models together -


cakephp 2.7 mssql database

i have 2 main tables in database , relation belongs-to. recursion index action set 1, on both tables.

table2 belongs table1.

i need load table1 belongs-to relation , need table2 belongs-to relation on index of table1, recursion value 1.

if set recursion 2, goes deep.

i tried has-one, belongs-to, recursion012.

resolved.. added find method in index. , set/send var index.ctp. tnx

you can use containable behavior instead of recursive option data desired table. more info see http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -