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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -