svn: /phpdoc/ja/trunk/ appendices/ini.core.xml language/control-structures/include.xml reference/mysql/functions/mysql-data-seek.xml reference/pdo/pdo/setattribute.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Fri, 06 Mar 2020 02:29:52 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349333

Log:
Fix #74897: Links to "warning" & "fatal error" have a blank href

Let's be pragmatic, and just use <constant> elements as in the rest of docs,
and hope that PhD will support automatically linking these elements sometime.

Bug: https://bugs.php.net/74897 (Closed) Links to "warning" & "fatal error" have a blank href
      
Changed paths:
    U   phpdoc/ja/trunk/appendices/ini.core.xml
    U   phpdoc/ja/trunk/language/control-structures/include.xml
    U   phpdoc/ja/trunk/reference/mysql/functions/mysql-data-seek.xml
    U   phpdoc/ja/trunk/reference/pdo/pdo/setattribute.xml

Modified: phpdoc/ja/trunk/appendices/ini.core.xml
===================================================================
--- phpdoc/ja/trunk/appendices/ini.core.xml	2020-03-06 02:29:03 UTC (rev 349332)
+++ phpdoc/ja/trunk/appendices/ini.core.xml	2020-03-06 02:29:52 UTC (rev 349333)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 349194 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349307 Maintainer: takagi Status: ready -->
 <!-- CREDITS: hirokawa,shimooka,mumumu -->

  <section xml:id="ini.core" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -1464,8 +1464,8 @@
         インクルードパスの各エントリを個別に調べます。
         まず最初のパスを調べ、見つからなければ次のパスを調べ、……
         というように、ファイルが見つかるか
-        <link linkend="errorfunc.constants.errorlevels.e-warning">warning</link>
-        あるいは <link linkend="errorfunc.constants.errorlevels.e-error">error</link>
+        <constant>E_WARNING</constant>
+        あるいは <constant>E_ERROR</constant>
         が発生するまで続けます。インクルードパスを実行時に変更したり設定したりするには
         <function>set_include_path</function> を使用します。
        </para>

Modified: phpdoc/ja/trunk/language/control-structures/include.xml
===================================================================
--- phpdoc/ja/trunk/language/control-structures/include.xml	2020-03-06 02:29:03 UTC (rev 349332)
+++ phpdoc/ja/trunk/language/control-structures/include.xml	2020-03-06 02:29:52 UTC (rev 349333)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 348957 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349307 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->

 <sect1 xml:id="function.include" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -19,9 +19,9 @@
   に見つからないときは、<literal>include</literal>
   は呼び出し元スクリプトのディレクトリと現在の作業ディレクトリも探します。
   <literal>include</literal> は、ファイルを見つけられない場合に
-  <link linkend="errorfunc.constants.errorlevels.e-warning">warning</link>
+  <constant>E_WARNING</constant>
   を発行します。一方 <function>require</function> の場合は、同じ場合に
-  <link linkend="errorfunc.constants.errorlevels.e-error">fatal error</link>
+  <constant>E_ERROR</constant>
   を発行する点が異なります。
  </simpara>
  <simpara>

Modified: phpdoc/ja/trunk/reference/mysql/functions/mysql-data-seek.xml
===================================================================
--- phpdoc/ja/trunk/reference/mysql/functions/mysql-data-seek.xml	2020-03-06 02:29:03 UTC (rev 349332)
+++ phpdoc/ja/trunk/reference/mysql/functions/mysql-data-seek.xml	2020-03-06 02:29:52 UTC (rev 349333)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 328734 Maintainer: takagi Status: ready -->
-<!-- CREDITS: hirokawa -->
+<!-- EN-Revision: 349307 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa,mumumu -->
 <refentry xml:id="function.mysql-data-seek" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>mysql_data_seek</refname>
@@ -39,7 +39,7 @@
    <function>mysql_num_rows</function> - 1 までの範囲にあるべきです。
    しかし、もし結果セットが空(<function>mysql_num_rows</function> == 0)
    の場合、0 へのシークは
-   <link linkend="errorfunc.constants.errorlevels.e-warning">E_WARNING</link>
+   <constant>E_WARNING</constant>
    を発生して失敗し、<function>mysql_data_seek</function> は &false; を返します。
   </para>
  </refsect1>

Modified: phpdoc/ja/trunk/reference/pdo/pdo/setattribute.xml
===================================================================
--- phpdoc/ja/trunk/reference/pdo/pdo/setattribute.xml	2020-03-06 02:29:03 UTC (rev 349332)
+++ phpdoc/ja/trunk/reference/pdo/pdo/setattribute.xml	2020-03-06 02:29:52 UTC (rev 349333)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 340311 Maintainer: takagi Status: ready -->
-<!-- CREDITS: shimooka -->
+<!-- EN-Revision: 349307 Maintainer: takagi Status: ready -->
+<!-- CREDITS: shimooka,mumumu -->
 <refentry xml:id="pdo.setattribute" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>PDO::setAttribute</refname>
@@ -42,7 +42,7 @@
       <listitem><para><literal>PDO::ERRMODE_SILENT</literal>:
        エラーコードのみ設定する</para></listitem>
       <listitem><para><literal>PDO::ERRMODE_WARNING</literal>:
-       <link linkend="errorfunc.constants.errorlevels.e-warning">E_WARNING</link>
+       <constant>E_WARNING</constant>
        を発生させる</para></listitem>
       <listitem><para><literal>PDO::ERRMODE_EXCEPTION</literal>:
        <link linkend="class.pdoexception">例外</link>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.