Re: how access another table data in controller

2012-08-19 Thread Bharat Maheshwari
Simply use the model name in $uses in the top of controller and use wherever you want the model in the whole controller $uses=array('Modelname'); function test(){ $record= $this-Modelname-find(); } On Saturday, August 18, 2012 5:43:24 PM UTC+5:30, sooryender wrote: how access another table

Re: how access another table data in controller

2012-08-19 Thread Jeremy Burns | Class Outfit
the model name in $uses in the top of controller and use wherever you want the model in the whole controller $uses=array('Modelname'); function test(){ $record= $this-Modelname-find(); } On Saturday, August 18, 2012 5:43:24 PM UTC+5:30, sooryender wrote: how access another table data

how access another table data in controller

2012-08-18 Thread sooryender
how access another table data in controller -- You received this message because you are subscribed to the Google Groups CakePHP group. To post to this group, send email to cake-php@googlegroups.com. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com. Visit

Re: how access another table data in controller

2012-08-18 Thread Serkan Sipahi
');               /*               .               */         } } Von: sooryender sooryen...@gmail.com An: cake-php@googlegroups.com Gesendet: 14:13 Samstag, 18.August 2012 Betreff: how access another table data in controller how access another table data in controller -- You received this message because you are subscribed to the Google Groups