Zend_Navigation-Pages-URI.xml 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <!-- EN-Revision: 15746 -->
  4. <sect2 id="zend.navigation.pages.uri">
  5. <title>Zend_Navigation_Page_Uri</title>
  6. <para>
  7. <classname>Zend_Navigation_Page_Uri</classname>タイプの画面は、
  8. 他のドメインやサイトの画面にリンクするためや、、
  9. 画面にカスタムロジックを実装したりするために使われることができます。
  10. URI画面は単純です;
  11. 画面の共通オプションに加えて、URI画面にはたった一つのオプション、
  12. <code>uri</code>があります。
  13. <code>$page->getHref()</code>を呼び出すときに<code>uri</code>が戻されます。
  14. それは<type>String</type>かまたは<constant>NULL</constant>です。
  15. </para>
  16. <note>
  17. <para>
  18. <classname>Zend_Navigation_Page_Uri</classname>は
  19. <code>$page->isActive()</code>を呼び出したときに活動状態かどうか決定しようとはしません。
  20. ただ単に現在設定されているものを返すだけで、
  21. URI画面を活動状態にするには、
  22. 手動で<code>$page->setActive()</code>を呼び出すか、
  23. または
  24. <!-- TODO -->
  25. when constucting
  26. 画面オプションに<code>active</code>を指定しなければいけません。
  27. </para>
  28. </note>
  29. <table id="zend.navigation.pages.uri.options">
  30. <title>URI画面のオプション</title>
  31. <tgroup cols="4">
  32. <thead>
  33. <row>
  34. <entry>キー</entry>
  35. <entry>タイプ</entry>
  36. <entry>既定値</entry>
  37. <entry>説明</entry>
  38. </row>
  39. </thead>
  40. <tbody>
  41. <row>
  42. <entry><code>uri</code></entry>
  43. <entry><type>String</type></entry>
  44. <entry><constant>NULL</constant></entry>
  45. <entry>
  46. 画面へのURI。さまざまな文字列またはnullになりうる。
  47. </entry>
  48. </row>
  49. </tbody>
  50. </tgroup>
  51. </table>
  52. </sect2>