阅读背景:

如何在视图助手中调用模型方法?

来源:互联网 

How can I call a class method from a model in a view helper. Basically the view shows the search results based on a list of type ids passed to the action. But on the view instead of the search ids, I want to show the description of those products instead of ids.How can I call a class method from a model in a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: