سؤال

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