Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 ez 组件在 ZEND 框架中生成线性图,我想在单个页面上显示一些 em 作为仪表板,我应该怎么做?
我正在考虑为控制器中的每个图形创建一个动作,但我找不到将它们显示为仪表板的正确方法
在典型的 MVC 场景中,单个动作呈现单个页面,因此创建模型类来呈现图形并从动作控制器调用它以填充视图变量可能是更好的主意