svn: /phpdoc/ja/trunk/reference/com/ com/construct.xml com.xml dotnet/construct.xml dotnet.xml variant/construct.xml variant.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Wed, 26 Feb 2020 12:12:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=349254
Log:
Use canonical spelling of class names
Changed paths:
U phpdoc/ja/trunk/reference/com/com/construct.xml
U phpdoc/ja/trunk/reference/com/com.xml
U phpdoc/ja/trunk/reference/com/dotnet/construct.xml
U phpdoc/ja/trunk/reference/com/dotnet.xml
U phpdoc/ja/trunk/reference/com/variant/construct.xml
U phpdoc/ja/trunk/reference/com/variant.xml
svn-diffs-349254.txt
(text/x-diff, 13.9 KB)
Modified: phpdoc/ja/trunk/reference/com/com/construct.xml
===================================================================
--- phpdoc/ja/trunk/reference/com/com/construct.xml 2020-02-26 10:20:49 UTC (rev 349253)
+++ phpdoc/ja/trunk/reference/com/com/construct.xml 2020-02-26 12:12:55 UTC (rev 349254)
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347692 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 349253 Maintainer: mumumu Status: ready -->
<refentry xml:id="com.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
- <refname>COM::__construct</refname>
- <refpurpose>COM クラスのコンストラクタ</refpurpose>
+ <refname>com::__construct</refname>
+ <refpurpose>com クラスのコンストラクタ</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis role="oop">
- <methodname>COM::__construct</methodname>
+ <methodname>com::__construct</methodname>
<methodparam><type>string</type><parameter>module_name</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>server_name</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer>CP_ACP</initializer></methodparam>
@@ -18,7 +18,7 @@
<methodparam choice="opt"><type>string</type><parameter>typelib</parameter></methodparam>
</constructorsynopsis>
<para>
- 新しい COM オブジェクトを構築します。
+ 新しい com オブジェクトを構築します。
</para>
</refsect1>
Modified: phpdoc/ja/trunk/reference/com/com.xml
===================================================================
--- phpdoc/ja/trunk/reference/com/com.xml 2020-02-26 10:20:49 UTC (rev 349253)
+++ phpdoc/ja/trunk/reference/com/com.xml 2020-02-26 12:12:55 UTC (rev 349254)
@@ -1,19 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347690 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 349253 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi,mumumu -->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.com" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
- <titleabbrev>COM</titleabbrev>
- <title>COM クラス</title>
+ <titleabbrev>com</titleabbrev>
+ <title>com クラス</title>
<partintro>
-<!-- {{{ COM intro -->
+<!-- {{{ com intro -->
<section xml:id="com.intro">
&reftitle.intro;
<para>
- The COM class allows you to instantiate an OLE compatible COM object and
- call its methods and access its properties.
- COM クラスにより、OLE 互換の COM オブジェクトのインスタンスを作成し、
+ com クラスにより、OLE 互換の COM オブジェクトのインスタンスを作成し、
そのメソッドをコールしたりそのプロパティにアクセスしたりすることが
可能となります。
</para>
@@ -25,17 +23,17 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>COM</classname></ooclass>
+ <ooclass><classname>com</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
- <classname>COM</classname>
+ <classname>com</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
- <classname>VARIANT</classname>
+ <classname>variant</classname>
</ooclass>
</classsynopsisinfo>
@@ -66,15 +64,15 @@
</section>
<section xml:id="class.com.examples">
- <title>COM の例</title>
+ <title>com の例</title>
<para>
<example xml:id="example.com1">
- <title>COM の例 (1)</title>
+ <title>com の例 (1)</title>
<programlisting role="php">
<![CDATA[
<?php
// word を起動します
-$word = new COM("word.application") or die("Unable to instantiate Word");
+$word = new com("word.application") or die("Unable to instantiate Word");
echo "Loaded Word, version {$word->Version}\n";
// 前面に移動させます
@@ -100,12 +98,12 @@
</para>
<para>
<example xml:id="example.com2">
- <title>COM の例 (2)</title>
+ <title>com の例 (2)</title>
<programlisting role="php">
<![CDATA[
<?php
-$conn = new COM("ADODB.Connection") or die("Cannot start ADO");
+$conn = new com("ADODB.Connection") or die("Cannot start ADO");
$conn->Open("Provider=SQLOLEDB; Data Source=localhost;
Initial Catalog=database; User ID=user; Password=password");
Modified: phpdoc/ja/trunk/reference/com/dotnet/construct.xml
===================================================================
--- phpdoc/ja/trunk/reference/com/dotnet/construct.xml 2020-02-26 10:20:49 UTC (rev 349253)
+++ phpdoc/ja/trunk/reference/com/dotnet/construct.xml 2020-02-26 12:12:55 UTC (rev 349254)
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347692 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 349253 Maintainer: mumumu Status: ready -->
<refentry xml:id="dotnet.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
- <refname>DOTNET::__construct</refname>
- <refpurpose>DOTNET クラスのコンストラクタ</refpurpose>
+ <refname>dotnet::__construct</refname>
+ <refpurpose>dotnet クラスのコンストラクタ</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis role="oop">
- <methodname>DOTNET::__construct</methodname>
+ <methodname>dotnet::__construct</methodname>
<methodparam><type>string</type><parameter>assembly_name</parameter></methodparam>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer>CP_ACP</initializer></methodparam>
</constructorsynopsis>
<para>
- 新しい DOTNET オブジェクトを構築します。
+ 新しい dotnet オブジェクトを構築します。
</para>
</refsect1>
Modified: phpdoc/ja/trunk/reference/com/dotnet.xml
===================================================================
--- phpdoc/ja/trunk/reference/com/dotnet.xml 2020-02-26 10:20:49 UTC (rev 349253)
+++ phpdoc/ja/trunk/reference/com/dotnet.xml 2020-02-26 12:12:55 UTC (rev 349254)
@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348193 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 349253 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.dotnet" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xlink="http://www.w3.org/1999/xlink">
- <titleabbrev>DOTNET</titleabbrev>
- <title>DOTNET クラス</title>
+ <titleabbrev>dotnet</titleabbrev>
+ <title>dotnet クラス</title>
<partintro>
-<!-- {{{ DOTNET intro -->
+<!-- {{{ dotnet intro -->
<section xml:id="dotnet.intro">
&reftitle.intro;
<para>
- DOTNET クラスにより、
+ dotnet クラスにより、
クラスやメソッドが <link xlink:href="&url.com.visible;">COM に見えている場合</link>、
.Net アセンブリからクラスを生成して
そのメソッドをコールしたりプロパティにアクセスしたりできるようになります。
@@ -29,17 +29,17 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>DOTNET</classname></ooclass>
+ <ooclass><classname>dotnet</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
- <classname>DOTNET</classname>
+ <classname>dotnet</classname>
</ooclass>
<ooclass>
<modifier>extends</modifier>
- <classname>VARIANT</classname>
+ <classname>variant</classname>
</ooclass>
</classsynopsisinfo>
@@ -65,20 +65,20 @@
ことです。
</para>
<para>
- DOTNET オブジェクトが作成されると、PHP はそれを他の COM
+ dotnet オブジェクトが作成されると、PHP はそれを他の COM
オブジェクトと同等のものとして扱い、同様の規則が適用されます。
</para>
</section>
<section xml:id="class.dotnet.examples">
- <title>DOTNET の例</title>
+ <title>dotnet の例</title>
<para>
<example xml:id="example.dotnet">
- <title>DOTNET の例</title>
+ <title>dotnet の例</title>
<programlisting role="php">
<![CDATA[
<?php
-$stack = new DOTNET("mscorlib", "System.Collections.Stack");
+$stack = new dotnet("mscorlib", "System.Collections.Stack");
$stack->Push(".Net");
$stack->Push("Hello ");
echo $stack->Pop() . $stack->Pop();
Modified: phpdoc/ja/trunk/reference/com/variant/construct.xml
===================================================================
--- phpdoc/ja/trunk/reference/com/variant/construct.xml 2020-02-26 10:20:49 UTC (rev 349253)
+++ phpdoc/ja/trunk/reference/com/variant/construct.xml 2020-02-26 12:12:55 UTC (rev 349254)
@@ -1,23 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347692 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 349253 Maintainer: mumumu Status: ready -->
<refentry xml:id="variant.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
- <refname>VARIANT::__construct</refname>
- <refpurpose>VARIANT クラスのコンストラクタ</refpurpose>
+ <refname>variant::__construct</refname>
+ <refpurpose>variant クラスのコンストラクタ</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<constructorsynopsis role="oop">
- <methodname>VARIANT::__construct</methodname>
+ <methodname>variant::__construct</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>value</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>type</parameter><initializer>VT_EMPTY</initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>codepage</parameter><initializer>CP_ACP</initializer></methodparam>
</constructorsynopsis>
<para>
- 新しい VARIANT オブジェクトを構築します。
+ 新しい variant オブジェクトを構築します。
</para>
</refsect1>
@@ -36,13 +36,13 @@
<term><parameter>type</parameter></term>
<listitem>
<simpara>
- VARIANT オブジェクトの型を指定します。
+ variant オブジェクトの型を指定します。
有効な値は <xref
linkend="com.constants"/> の <constant>VT_XXX</constant> のうちの一つです。
</simpara>
<simpara>
PHP は参照渡しを自動で認識できます。
- つまり、VARIANT オブジェクトとして渡す必要すらないということです。
+ つまり、variant オブジェクトとして渡す必要すらないということです。
</simpara>
<simpara>
VARIANT 型に関する追加情報は、<acronym>MSDN</acronym> ライブラリを調べてください。
Modified: phpdoc/ja/trunk/reference/com/variant.xml
===================================================================
--- phpdoc/ja/trunk/reference/com/variant.xml 2020-02-26 10:20:49 UTC (rev 349253)
+++ phpdoc/ja/trunk/reference/com/variant.xml 2020-02-26 12:12:55 UTC (rev 349254)
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 347688 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 349253 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: takagi,mumumu -->
<phpdoc:classref xmlns:phpdoc="http://php.net/ns/phpdoc" xml:id="class.variant" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
- <titleabbrev>VARIANT</titleabbrev>
- <title>VARIANT クラス</title>
+ <titleabbrev>variant</titleabbrev>
+ <title>variant クラス</title>
<partintro>
-<!-- {{{ VARIANT intro -->
+<!-- {{{ variant intro -->
<section xml:id="variant.intro">
&reftitle.intro;
<para>
VARIANT は、PHP の zval と同等の COM の値です。構造体形式になっており、
異なる型の値を含めることが可能です。COM 拡張モジュールが提供する
- VARIANT クラスによって、PHP と COM の間のデータの受け渡しを制御できるように
+ variant クラスによって、PHP と COM の間のデータの受け渡しを制御できるように
なります。
</para>
</section>
@@ -24,12 +24,12 @@
<!-- {{{ Synopsis -->
<classsynopsis>
- <ooclass><classname>VARIANT</classname></ooclass>
+ <ooclass><classname>variant</classname></ooclass>
<!-- {{{ Class synopsis -->
<classsynopsisinfo>
<ooclass>
- <classname>VARIANT</classname>
+ <classname>variant</classname>
</ooclass>
</classsynopsisinfo>
<!-- }}} -->
@@ -44,14 +44,14 @@
</section>
<section xml:id="class.variant.examples">
- <title>VARIANT の例</title>
+ <title>variant の例</title>
<para>
<example xml:id="com.variant.example.php5">
- <title>Variant の例</title>
+ <title>variant の例</title>
<programlisting role="php">
<![CDATA[
<?php
-$v = new VARIANT(42);
+$v = new variant(42);
print "The type is " . variant_get_type($v) . "<br/>";
print "The value is " . $v . "<br/>";
?>
@@ -63,7 +63,7 @@
<para>
値を返したり variant プロパティを取得したりする際に variant が
PHP の値に変換されるのは、情報を失うことなく型変換ができる型が
- 存在する場合に限られます。それ以外の場合は、結果は VARIANT クラスの
+ 存在する場合に限られます。それ以外の場合は、結果は variant クラスの
インスタンスとして返されます。明示的にキャスト演算子を指定することで
variant を PHP のネイティブ型として扱うことが可能です。また、
<function>print</function>