1、如果action不需要输出视图文件(如果ajax请求之类的),只需要在action里面加Yaf\DisPatcher::getInstance()->disableView();

2、获取客户端请求的参数:$this->getRequest()->getParam("name");

 

相关文章:

  • 2021-06-25
  • 2021-12-04
  • 2022-03-15
  • 2022-12-23
  • 2021-11-23
  • 2021-12-23
  • 2021-10-22
  • 2021-11-07
猜你喜欢
  • 2021-10-10
  • 2021-09-10
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
相关资源
相似解决方案