获取权限数据 function getpowerAction() { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer
public virtual View ExecuteController(Controller controller) ; 14: } 15: 16: public class ViewRenderer...{ 31: return new ControllerExecutor(); 32: } 33: 34: protected virtual ViewRenderer...GetViewRenderer() 35: { 36: return new ViewRenderer(); 37: } 38: } 对于具体的应用程序来说...: { 15: return new ControllerExecutor(); 16: } 17: 18: public virtual ViewRenderer...GetViewRenderer() 19: { 20: return new ViewRenderer(); 21: } 22: } 23:
要求返回渲染结果,做下一步处理 | |———–> 获取widget的数目 | 从Yii::app()获得render CWebApplication::getViewRenderer 查询component['viewRenderer
helper->layout()->disableLayout();//即可屏蔽掉页面布局 如果有的模块只是作为中间页面,任何输出都没有的页面需要屏蔽掉渲染可以在方法中加上 $this->_helper->viewRenderer
this.Cat.GetService().ExecuteController(controller); 19: this.Cat.GetService<ViewRenderer
领取专属 10元无门槛券
手把手带您无忧上云