Zend Framework 0.9

When upgrading from a previous release to Zend Framework 0.9 or higher you should note the following migration notes.

Zend_Controller

0.9.3 introduces action helpers. As part of this change, the following methods have been removed as they are now encapsulated in the redirector action helper:

  • setRedirectCode(); use Zend_Controller_Action_Helper_Redirector::setCode().

  • setRedirectPrependBase(); use Zend_Controller_Action_Helper_Redirector::setPrependBase().

  • setRedirectExit(); use Zend_Controller_Action_Helper_Redirector::setExit().

Read the action helpers documentation for more information on how to retrieve and manipulate helper objects, and the redirector helper documentation for more information on setting redirect options (as well as alternate methods for redirecting).

blog comments powered by Disqus