首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > Zend框架的Action组件拦截上postdispatch()节约上Zend控制器请求

Zend框架的Action组件拦截上postdispatch()节约上Zend控制器请求

资 源 简 介

This is an zend action helper that invokes notification handler (lastPostDispatch()) on registered observer for the last dispatched request not redirected. Action controller can implement an interface for lastPostDispatch and automatically they can receive notifications about last action dispatched. You can also retrieve the last saved request for further use. For example , in login context, every requests is saved when you navigate in the site if you extends in yours controllers a base classe which implements that interface. Imagine to have a login box on every page, you want return to the exact request after the login, now you can go to the last saved request!

文 件 列 表

Goldman
Controller

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP