dty5753 2013-08-14 10:50
浏览 37
已采纳

如何在Joomla中添加其他模型的视图

I'm creating a component in Joomla! 3.1.4 which contains multiple models. What I would like to accomplish is to add multiple models B that associate with model A in A's edit view.

To be specific, I want to keep adding unlimited number of model B to connect to model A when I am editing model A. And provide a simple list of B's in A's edit view.

This can of course be done in B's edit views, or fully hard coded within A's edit view. I believe Joomla! should have some methods to accomplish that to avoid code duplications.

Can anyone please shed a light on this? Thanks!

  • 写回答

2条回答 默认 最新

  • douhuan3420 2013-08-15 07:30
    关注

    The Joomla Doc's website covers this subject in the article "Using multiple models in an MVC component"

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器