首页| 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
  • 19分钟前 成为了本站会员

  • Half_Punch 1天前 成为了本站会员

  • liqing71718 1天前 成为了本站会员

  • 伟国 1天前 成为了本站会员

  • songy 1天前 成为了本站会员

  • 纯色幽默 1天前 成为了本站会员

  • odd? 1天前 成为了本站会员

  • 52JOY... 1天前 成为了本站会员

  • Sirius 2天前 成为了本站会员

  • 2天前 成为了本站会员

0.182550s