I understand that the ZF ActionStack Action Helper incurs a performance hit because it retriggers the entire dispatch process. But what about the Action View Helper? Should I be avoiding it for the same reason?

有帮助吗?

解决方案

If you mean the $this->action() view helper, then yes, avoid it for the same reason. All this does is call the action stack.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top