svn: /phpdoc/ja/trunk/reference/yaf/ yaf_route_interface/route.xml yaf_route_regex/construct.xml yaf_route_rewrite/route.xml
| From: | TAKAGI Masahiro | Date: | Sat, 11 Jan 2014 03:53:17 +0000 |
| Subject: | svn: /phpdoc/ja/trunk/reference/yaf/ yaf_route_interface/route.xml yaf_route_regex/construct.xml yaf_route_rewrite/route.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-4142@lists.php.net to get a copy of this message | ||
takagi Sat, 11 Jan 2014 03:53:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=332592
Log:
Sync with en
Changed paths:
U phpdoc/ja/trunk/reference/yaf/yaf_route_interface/route.xml
U phpdoc/ja/trunk/reference/yaf/yaf_route_regex/construct.xml
U phpdoc/ja/trunk/reference/yaf/yaf_route_rewrite/route.xml
Modified: phpdoc/ja/trunk/reference/yaf/yaf_route_interface/route.xml
===================================================================
--- phpdoc/ja/trunk/reference/yaf/yaf_route_interface/route.xml 2014-01-10 16:05:33 UTC (rev 332591)
+++ phpdoc/ja/trunk/reference/yaf/yaf_route_interface/route.xml 2014-01-11 03:53:17 UTC (rev 332592)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 328221 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 332586 Maintainer: takagi Status: ready -->
<refentry xml:id="yaf-route-interface.route" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -17,6 +17,12 @@
<para>
<methodname>Yaf_Route_Interface::route</methodname>
は、ルーターを自作するときに唯一実装する必要のあるメソッドです。
+ <note>
+ <para>
+ 2.3.0 以降では、実装すべきメソッドがひとつ増えました。
+ <methodname>Yaf_Route_Interface::assemble</methodname> を参照ください。
+ </para>
+ </note>
</para>
<para>
このメソッドが &true;
を返せば、そこでルーティングが終わります。それ以外の場合は
@@ -35,7 +41,6 @@
リクエストをルーティングしたことを示すため、このメソッドは最後に
<methodname>Yaf_Request_Abstract::setRouted</methodname>
を呼ぶ必要があります。
</para>
- &warn.undocumented.func;
</refsect1>
Modified: phpdoc/ja/trunk/reference/yaf/yaf_route_regex/construct.xml
===================================================================
--- phpdoc/ja/trunk/reference/yaf/yaf_route_regex/construct.xml 2014-01-10 16:05:33 UTC (rev 332591)
+++ phpdoc/ja/trunk/reference/yaf/yaf_route_regex/construct.xml 2014-01-11 03:53:17 UTC (rev 332592)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 332315 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 332586 Maintainer: takagi Status: ready -->
<refentry xml:id="yaf-route-regex.construct" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -16,9 +16,9 @@
<methodparam><type>array</type><parameter>route</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>map</parameter></methodparam>
<methodparam
choice="opt"><type>array</type><parameter>verify</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>reverse</parameter></methodparam>
</methodsynopsis>
<para>
-
</para>
</refsect1>
@@ -65,6 +65,20 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>reverse</parameter></term>
+ <listitem>
+ <para>
+ URL を組み立てるときに使う文字列。
+ <methodname>Yaf_Route_Regex::assemble</methodname> を参照ください。
+ <note>
+ <para>
+ このパラメータは 2.3.0 で導入されました。
+ </para>
+ </note>
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</refsect1>
Modified: phpdoc/ja/trunk/reference/yaf/yaf_route_rewrite/route.xml
===================================================================
--- phpdoc/ja/trunk/reference/yaf/yaf_route_rewrite/route.xml 2014-01-10 16:05:33 UTC (rev 332591)
+++ phpdoc/ja/trunk/reference/yaf/yaf_route_rewrite/route.xml 2014-01-11 03:53:17 UTC (rev 332592)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 320072 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 332586 Maintainer: takagi Status: ready -->
<refentry xml:id="yaf-route-rewrite.route" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -18,8 +18,6 @@
</para>
- &warn.undocumented.func;
-
</refsect1>
<refsect1 role="parameters">