|
|
@@ -1,5 +1,5 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<!-- EN-Revision: 20143 -->
|
|
|
+<!-- EN-Revision: 20799 -->
|
|
|
<!-- Reviewed: no -->
|
|
|
<sect3 id="zend.view.helpers.initial.navigation">
|
|
|
<title>Navigations Helfer</title>
|
|
|
@@ -332,11 +332,13 @@ $this->navigation()->addPage(array(
|
|
|
Die Domain der Site ist <code>www.example.com</code>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Interessante Eigenschaften der Seite sind mit einem Kommentar markiert.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Solange im Beispiel nicht anders erwähnt, fragt der Benutzer nach der
|
|
|
@@ -345,6 +347,7 @@ $this->navigation()->addPage(array(
|
|
|
<code>Foo Server</code> übersetzt wird.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
Das angenommene <acronym>ACL</acronym> und Route Setup wird unter dem Container
|
|
|
@@ -608,6 +611,7 @@ Zend_View_Helper_Navigation_HelperAbstract::setDefaultRole('member');
|
|
|
Breakcrumbs verwendet wird. Der Standardwert ist <code>' &gt; '</code>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}LinkLast()</code> empfängt/setzt ob der letzte Breabcrumb
|
|
|
@@ -615,6 +619,7 @@ Zend_View_Helper_Navigation_HelperAbstract::setDefaultRole('member');
|
|
|
<constant>FALSE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}Partial()</code> empfängt/setzt ein partielles View Skript das
|
|
|
@@ -630,11 +635,13 @@ Zend_View_Helper_Navigation_HelperAbstract::setDefaultRole('member');
|
|
|
in dem das Skript zu finden ist.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>renderStraight()</methodname> ist die standardmäßige render Methode.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>renderPartial()</methodname> wird für die Darstellung verwendet wenn
|
|
|
@@ -813,18 +820,21 @@ Produkte, Foo Server, FAQ
|
|
|
erste Seite im Container.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>searchRelNext()</methodname>, Vorwärts Beziehung 'next'; findet
|
|
|
die nächste Seite im Container, z.B. die Seite nach der aktiven Seite.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>searchRelPrev()</methodname>, Vorwärts Beziehung 'prev'; findet
|
|
|
die vorhergehende Seite, z.B. die Seite vor der aktiven Seite.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>searchRelChapter()</methodname>, Vorwärts Beziehung 'chapter';
|
|
|
@@ -832,6 +842,7 @@ Produkte, Foo Server, FAQ
|
|
|
Seite wenn diese auf Level 0 ist.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>searchRelSection()</methodname>, Vorwärts Beziehung 'section';
|
|
|
@@ -839,6 +850,7 @@ Produkte, Foo Server, FAQ
|
|
|
ist (ein 'chapter').
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>searchRelSubsection()</methodname>, Vorwärts Beziehung
|
|
|
@@ -846,6 +858,7 @@ Produkte, Foo Server, FAQ
|
|
|
Seite auf Level 1 sind (ein 'section').
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>searchRevSection()</methodname>, Rückwärts Beziehung 'section';
|
|
|
@@ -853,6 +866,7 @@ Produkte, Foo Server, FAQ
|
|
|
ist (ein 'section').
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>searchRevSubsection()</methodname>, Rückwärts Beziehung
|
|
|
@@ -895,6 +909,7 @@ Produkte, Foo Server, FAQ
|
|
|
Helfers verwendet werden um festzustellen ob die Beziehung zu der die render Konstante
|
|
|
gehört, dargestellt werden soll.
|
|
|
</para>
|
|
|
+
|
|
|
<para>
|
|
|
Siehe das <link linkend="zend.view.helpers.initial.navigation.links.example3">folgende
|
|
|
Beispiel</link> für weitere Informationen.
|
|
|
@@ -906,81 +921,97 @@ Produkte, Foo Server, FAQ
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_ALTERNATE</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_STYLESHEET</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_START</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_NEXT</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_PREV</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_CONTENTS</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_INDEX</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_GLOSSARY</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_COPYRIGHT</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_CHAPTER</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_SECTION</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_SUBSECTION</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_APPENDIX</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_HELP</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_BOOKMARK</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_CUSTOM</constant>
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<constant>Zend_View_Helper_Navigation_Link::RENDER_ALL</constant>
|
|
|
@@ -1008,18 +1039,21 @@ Produkte, Foo Server, FAQ
|
|
|
dafür wie das render Flag zu setzen ist.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>findAllRelations()</methodname> findet alle Beziehungen von allen
|
|
|
Typen einer angegebenen Seite.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
- <methodname>findRelation()</methodname> findet alle Beziehungen eines angegebenen
|
|
|
- Typs einer angegebenen Seite.
|
|
|
+ <methodname>findRelation()</methodname> findet alle Beziehungen eines
|
|
|
+ angegebenen Typs einer angegebenen Seite.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>searchRel{Start|Next|Prev|Chapter|Section|Subsection}()</code>
|
|
|
@@ -1027,6 +1061,7 @@ Produkte, Foo Server, FAQ
|
|
|
nächster Seite, voriger Seite, Kapitel, Sektion und Untersektion zu finden.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>searchRev{Section|Subsection}()</code> durchsucht einen
|
|
|
@@ -1034,6 +1069,7 @@ Produkte, Foo Server, FAQ
|
|
|
finden.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>renderLink()</methodname> stellt ein einzelnes <code>link</code>
|
|
|
@@ -1189,12 +1225,14 @@ Ausgabe:
|
|
|
zur Verwendung in <methodname>renderMenu()</methodname>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}OnlyActiveBranch()</code> empfängt/setzt ein Flag das
|
|
|
spezifiziert ob der aktive Zweig eines Containers dargestellt werden soll.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}RenderParents()</code> empfängt/setzt ein Flag das
|
|
|
@@ -1203,6 +1241,7 @@ Ausgabe:
|
|
|
gesetzt wird, wird nur das tiefste aktive Menü dargestellt.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}Partial()</code> empfängt/setzt ein partielles View Skript
|
|
|
@@ -1218,6 +1257,7 @@ Ausgabe:
|
|
|
indem das Skript gefunden wird.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>htmlify()</methodname> überschreibt die Methode der abstrakten
|
|
|
@@ -1225,22 +1265,26 @@ Ausgabe:
|
|
|
<code>href</code> hat.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>renderMenu($container = null, $options = array())</methodname> ist
|
|
|
eine standardmäßige render Methode, und stellt einen Container als HTML
|
|
|
<code>UL</code> Liste dar.
|
|
|
</para>
|
|
|
+
|
|
|
<para>
|
|
|
Wenn <varname>$container</varname> nicht angegeben wird, wird der Container der
|
|
|
im Helfer registriert ist dargestellt.
|
|
|
</para>
|
|
|
+
|
|
|
<para>
|
|
|
<varname>$options</varname> wird verwendet um temporär spezifizierte Optionen zu
|
|
|
überschreiben ohne das die Werte in der Helferinstanz resetiert werden. Es
|
|
|
ist ein assoziatives Array wobei jeder Schlüssel mit einer Option im Helfer
|
|
|
korrespondiert.
|
|
|
</para>
|
|
|
+
|
|
|
<para>
|
|
|
Erkannte Optionen:
|
|
|
</para>
|
|
|
@@ -1252,6 +1296,7 @@ Ausgabe:
|
|
|
oder einen <code>int</code> Wert.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>minDepth</code>; Minimale Tiefe. Erwartet ein
|
|
|
@@ -1259,6 +1304,7 @@ Ausgabe:
|
|
|
Tiefe).
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>maxDepth</code>; Maximale Tiefe. Erwartet ein
|
|
|
@@ -1266,18 +1312,21 @@ Ausgabe:
|
|
|
Tiefe).
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>ulClass</code>; <acronym>CSS</acronym> Klasse für das
|
|
|
<code>ul</code> Element. Erwartet einen <type>String</type>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>onlyActiveBranch</code>; Ob nur der aktive Branch dargestellt
|
|
|
werden soll. Erwartet einen <type>Boolean</type> Wert.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>renderParents</code>; Ob eltern dargestellt werden sollen
|
|
|
@@ -1292,12 +1341,14 @@ Ausgabe:
|
|
|
sind verwendet.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>renderPartial()</methodname> wird für die Darstellung des Menüs in
|
|
|
einem partiellen View Skript verwendet.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>renderSubMenu()</methodname> stellt das tiefste Menü Level des
|
|
|
@@ -1789,6 +1840,7 @@ foreach ($this->container as $page) {
|
|
|
|
|
|
<table id="zend.view.helpers.initial.navigation.sitemap.elements">
|
|
|
<title>Sitemap XML Elemente</title>
|
|
|
+
|
|
|
<tgroup cols="2">
|
|
|
<thead>
|
|
|
<row>
|
|
|
@@ -1796,16 +1848,20 @@ foreach ($this->container as $page) {
|
|
|
<entry>Beschreibung</entry>
|
|
|
</row>
|
|
|
</thead>
|
|
|
+
|
|
|
<tbody>
|
|
|
<row>
|
|
|
<entry><code>loc</code></entry>
|
|
|
+
|
|
|
<entry>
|
|
|
Absolute <acronym>URL</acronym> zur Seite. Eine absolute
|
|
|
<acronym>URL</acronym> wird vom Helfer erzeugt.
|
|
|
</entry>
|
|
|
</row>
|
|
|
+
|
|
|
<row>
|
|
|
<entry><code>lastmod</code></entry>
|
|
|
+
|
|
|
<entry>
|
|
|
<para>
|
|
|
Das Datum der letzten Änderung der Datei, im
|
|
|
@@ -1813,6 +1869,7 @@ foreach ($this->container as $page) {
|
|
|
Datetime</ulink> Format. Dieser Zeitabschnitt kann bei Bedarf
|
|
|
unterdrückt, und nur YYYY-MM-DD verwendet werden.
|
|
|
</para>
|
|
|
+
|
|
|
<para>
|
|
|
Der Helfer versucht den <code>lastmod</code> Wert von der
|
|
|
Seiteneigenschaft <code>lastmod</code> zu erhalten wenn diese auf
|
|
|
@@ -1821,8 +1878,10 @@ foreach ($this->container as $page) {
|
|
|
</para>
|
|
|
</entry>
|
|
|
</row>
|
|
|
+
|
|
|
<row>
|
|
|
<entry><code>changefreq</code></entry>
|
|
|
+
|
|
|
<entry>
|
|
|
<para>
|
|
|
Wie oft eine Seite geändert wird. Dieser Wert bietet eine generelle
|
|
|
@@ -1848,14 +1907,17 @@ foreach ($this->container as $page) {
|
|
|
</para>
|
|
|
</entry>
|
|
|
</row>
|
|
|
+
|
|
|
<row>
|
|
|
<entry><code>priority</code></entry>
|
|
|
+
|
|
|
<entry>
|
|
|
<para>
|
|
|
Die Priorität dieser <acronym>URL</acronym> relativ zu anderen
|
|
|
<acronym>URL</acronym>s auf der eigenen Site. Der gültige Bereich
|
|
|
für diesen Wert ist von 0.0 bis 1.0.
|
|
|
</para>
|
|
|
+
|
|
|
<para>
|
|
|
Der Helfer versucht den <code>priority</code> Wert von der
|
|
|
Seiteneigenschaft <code>priority</code> zu erhalten wenn dieser
|
|
|
@@ -1883,6 +1945,7 @@ foreach ($this->container as $page) {
|
|
|
nachlesen. Der Standardwert ist <constant>FALSE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}UseXmlDeclaration()</code> empfängt/setzt ein Flag das
|
|
|
@@ -1890,6 +1953,7 @@ foreach ($this->container as $page) {
|
|
|
sein soll. Der Standardwert ist <constant>TRUE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}UseSitemapValidators()</code> empfängt/setzt ein Flag das
|
|
|
@@ -1897,6 +1961,7 @@ foreach ($this->container as $page) {
|
|
|
dargestellt werden soll. Der Standardwert ist <constant>TRUE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}UseSchemaValidation()</code> empfängt/setzt ein Flag das
|
|
|
@@ -1905,6 +1970,7 @@ foreach ($this->container as $page) {
|
|
|
<constant>FALSE</constant>. Wenn <constant>TRUE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}ServerUrl()</code> empfängt/setzt die Server
|
|
|
@@ -1913,12 +1979,14 @@ foreach ($this->container as $page) {
|
|
|
<acronym>URL</acronym> spezifiziert ist, wird diese vom Helfer festgestellt.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>url()</methodname> wird verwendet um absolute
|
|
|
<acronym>URL</acronym>s zu Seiten zu erstellen.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>getDomSitemap()</methodname> erzeugt ein DOMDocument von einem
|
|
|
@@ -2188,6 +2256,7 @@ echo $this->navigation()
|
|
|
<acronym>ACL</acronym>/Rolle und Übersetzer.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}InjectContainer()</code> empfängt/setzt ein Flag das anzeigt
|
|
|
@@ -2195,6 +2264,7 @@ echo $this->navigation()
|
|
|
Standardwert ist <constant>TRUE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}InjectAcl()</code> empfängt/setzt ein Flag das anzeigt ob die
|
|
|
@@ -2202,6 +2272,7 @@ echo $this->navigation()
|
|
|
Der Standardwert ist <constant>TRUE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}InjectTranslator()</code> empfängt/setzt ein Flag das anzeigt
|
|
|
@@ -2209,12 +2280,14 @@ echo $this->navigation()
|
|
|
Standardwert ist <constant>TRUE</constant>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<code>{get|set}DefaultProxy()</code> empfängt/setzt den Standard Proxy. Der
|
|
|
Standardwert ist <code>'menu'</code>.
|
|
|
</para>
|
|
|
</listitem>
|
|
|
+
|
|
|
<listitem>
|
|
|
<para>
|
|
|
<methodname>render()</methodname> leitet auf die render Methode des
|