|
|
@@ -2,34 +2,34 @@
|
|
|
<!-- EN-Revision: 16981 -->
|
|
|
<!-- Reviewed: no -->
|
|
|
<sect1 id="zend.navigation.migration">
|
|
|
- <title>Migrating from Previous Versions</title>
|
|
|
+ <title>Migration von vorhergehenden Versionen</title>
|
|
|
|
|
|
<para>
|
|
|
- This chapter documents primarily backwards compatibility breaks made in
|
|
|
- Zend_Navigation and Zend_View_Helper_Navigation, and should serve to aid
|
|
|
- in migration from previous versions.
|
|
|
+ Dieses Kapitel beschreibt primär Brüche in der Abwärtskompatibilität von Zend_Navigation
|
|
|
+ und Zend_View_Helper_Navigation und sollte als Hilfe bei der Migration von vorhergehenden
|
|
|
+ Versionen dienen.
|
|
|
</para>
|
|
|
|
|
|
<sect2 id="zend.view.navigation.zf7341">
|
|
|
- <title>Migrating from versions prior to 1.9</title>
|
|
|
+ <title>Migration von Versionen vor 1.9</title>
|
|
|
|
|
|
<para>
|
|
|
- Prior to the 1.9 release, the menu helper
|
|
|
- (<classname>Zend_View_Helper_Navigation_Menu</classname>) did not
|
|
|
- render sub menus correctly. When the <code>onlyActiveBranch</code>
|
|
|
- was <code>true</code> and the option <code>renderParents</code>
|
|
|
- <code>false</code>, nothing would be rendered if the deepest active
|
|
|
- page was at a depth lower than the <code>minDepth</code> option.
|
|
|
+ Vor dem Release 1.9 hat der Menü Helfer
|
|
|
+ (<classname>Zend_View_Helper_Navigation_Menu</classname>) Untermenüs nicht richtig
|
|
|
+ dargestellt. Wenn <code>onlyActiveBranch</code> <code>true</code> war und die Option
|
|
|
+ <code>renderParents</code> <code>false</code> wurde nichts dargestellt wenn die
|
|
|
+ tiefste aktive Seite auf einer geringeren Tiele als die <code>minDepth</code> Option
|
|
|
+ war.
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- In simpler words; if <code>minDepth</code> was set to <code>1</code>
|
|
|
- and the active page was at one of the first level pages, nothing
|
|
|
- would be rendered, as the following example shows.
|
|
|
+ In einfacheren Worten; Wenn <code>minDepth</code> auf <code>1</code> gesetzt war und
|
|
|
+ die aktive Seite eine der Seiten am Anfangs-Level, wurde nichts dargestellt wie das
|
|
|
+ folgende Beispiel zeigt.
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- Consider the following container setup:
|
|
|
+ Das folgende Container Setup wird angenommen:
|
|
|
</para>
|
|
|
|
|
|
<programlisting language="php"><![CDATA[
|
|
|
@@ -62,7 +62,7 @@ $container = new Zend_Navigation(array(
|
|
|
]]></programlisting>
|
|
|
|
|
|
<para>
|
|
|
- The following code is used in a view script:
|
|
|
+ Der folgende Code wird in einem View Script verwendet:
|
|
|
</para>
|
|
|
|
|
|
<programlisting language="php"><![CDATA[
|
|
|
@@ -73,18 +73,17 @@ $container = new Zend_Navigation(array(
|
|
|
)); ?>]]></programlisting>
|
|
|
|
|
|
<para>
|
|
|
- Before release 1.9, the code snippet above would output nothing.
|
|
|
+ Vor dem Release 1.9 würde der obige Codeabschnitt nichts ausgeben.
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- Since release 1.9, the <code>_renderDeepestMenu()</code> method in
|
|
|
- <classname>Zend_View_Helper_Navigation_Menu</classname> will accept
|
|
|
- active pages at one level below <code>minDepth</code>, as long as
|
|
|
- the page has children.
|
|
|
+ Seit dem Release 1.9 akzeptiert die <code>_renderDeepestMenu()</code> Methode in
|
|
|
+ <classname>Zend_View_Helper_Navigation_Menu</classname> aktive Seiten die ein Level
|
|
|
+ unter <code>minDepth</code> sind, solange diese Seite Kinder hat.
|
|
|
</para>
|
|
|
|
|
|
<para>
|
|
|
- The same code snippet will now output the following:
|
|
|
+ Der gleiche Codeabschnitt zeigt jetzt die folgende Ausgabe:
|
|
|
</para>
|
|
|
|
|
|
<programlisting language="html"><![CDATA[
|