When using the strategy pattern for the controller's helper broker, should the method be capitalized or lowercase?
$this->_helper->Redirector->goto(action, controller, module);
vs.
$this->_helper->redirector->goto(action, controller, module);
Both versions work, and I've seen both versions in the online documentation. Which is "correct", if any? Thanks!
</OT>
--
-Hector
On Wed, Oct 29, 2008 at 2:48 PM, Goran Juric <goran.juric@nacional.hr> wrote:
unknownman wrote:
>
> but after redirecting when i reload index action in browser , myAction
> execute too,
> how can i disable it in redirector
>
Use $this->_helper->Redirector->goto(action, controller, module);
--
View this message in context: http://www.nabble.com/How-to-disable-post-when-i-perform-redirecting-tp20236071p20236600.html
Sent from the Zend MVC mailing list archive at Nabble.com.
--
-Hector
没有评论:
发表评论