migration-09.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="migration.09">
  4. <title>Zend Framework 0.9</title>
  5. <para>
  6. When upgrading from a previous release to Zend Framework 0.9 or higher you
  7. should note the following migration notes.
  8. </para>
  9. <sect2 id="migration.09.zend.controller">
  10. <title>Zend_Controller</title>
  11. <para>
  12. 0.9.3 introduces <link
  13. linkend="zend.controller.actionhelpers">action helpers</link>.
  14. As part of this change, the following methods have been removed as
  15. they are now encapsulated in the <link
  16. linkend="zend.controller.actionhelpers.redirector">redirector
  17. action helper</link>:
  18. </para>
  19. <itemizedlist>
  20. <listitem>
  21. <para>
  22. <methodname>setRedirectCode()</methodname>; use
  23. <methodname>Zend_Controller_Action_Helper_Redirector::setCode()</methodname>.
  24. </para>
  25. </listitem>
  26. <listitem>
  27. <para>
  28. <methodname>setRedirectPrependBase()</methodname>; use
  29. <methodname>Zend_Controller_Action_Helper_Redirector::setPrependBase()</methodname>.
  30. </para>
  31. </listitem>
  32. <listitem>
  33. <para>
  34. <methodname>setRedirectExit()</methodname>; use
  35. <methodname>Zend_Controller_Action_Helper_Redirector::setExit()</methodname>.
  36. </para>
  37. </listitem>
  38. </itemizedlist>
  39. <para>
  40. Read the <link linkend="zend.controller.actionhelpers">action
  41. helpers documentation</link> for more information on how to
  42. retrieve and manipulate helper objects, and the <link
  43. linkend="zend.controller.actionhelpers.redirector">redirector
  44. helper documentation</link> for more information on setting
  45. redirect options (as well as alternate methods for redirecting).
  46. </para>
  47. </sect2>
  48. </sect1>
  49. <!--
  50. vim:se ts=4 sw=4 et:
  51. -->