Zend Framework里怎么取得当前action名

WBOY
Release: 2016-06-13 13:48:43
Original
1059 people have browsed it

Zend Framework里如何取得当前action名?
用Zend Framework开发个小项目,现在需要根据当前action名来处理些变量,请问如何获取当前模块和操作名.

------解决方案--------------------
不知道你每个controller是不是继承 Zend_Controller_Action
如果是parent::getFrontController()->getRequest()->getParams();这样应该行吧

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template