If used without caching requestAction can lead to poor performance. It is rarely appropriate to use in a controller or model. From: http://book.cakephp.org/2.0/en/controllers.html#Controller::requestAction
If the ClassRegistry will not give you any kind of conflict, i recommend the use of this, but if you have trouble you can use requestAction without problems, i am using this for dinamic menus wich have related models. Em quarta-feira, 1 de agosto de 2012 04h43min21s UTC-3, Bharat Maheshwari escreveu: > > I just want to know that the use of *requestaction* in a view file is > good for coding or using *Class::Rergistry* is better then *requestaction*? > -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
