[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/com/_com/construct.xml_com.xml_dotnet/construct.
From:       Christoph_Michael_Becker <cmb () php ! net>
Date:       2020-02-26 10:20:49
Message-ID: svn-cmb-1582712449-349253-1672433409 () svn ! php ! net
[Download RAW message or body]

cmb                                      Wed, 26 Feb 2020 10:20:49 +0000

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

Log:
Use canonical spelling of class names

Changed paths:
    U   phpdoc/en/trunk/reference/com/com/construct.xml
    U   phpdoc/en/trunk/reference/com/com.xml
    U   phpdoc/en/trunk/reference/com/dotnet/construct.xml
    U   phpdoc/en/trunk/reference/com/dotnet.xml
    U   phpdoc/en/trunk/reference/com/variant/construct.xml
    U   phpdoc/en/trunk/reference/com/variant.xml


["svn-diffs-349253.txt" (text/x-diff)]

Modified: phpdoc/en/trunk/reference/com/com/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/com/com/construct.xml	2020-02-25 13:53:54 UTC (rev \
                349252)
+++ phpdoc/en/trunk/reference/com/com/construct.xml	2020-02-26 10:20:49 UTC (rev \
349253) @@ -3,14 +3,14 @@

 <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 class constructor</refpurpose>
+  <refname>com::__construct</refname>
+  <refpurpose>com class constructor</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>
 @@ -17,7 +17,7 @@
    <methodparam choice="opt"><type>string</type><parameter>typelib</parameter></methodparam>
  </constructorsynopsis>
   <para>
-   Constructs a new COM object.
+   Constructs a new com object.
   </para>
  </refsect1>


Modified: phpdoc/en/trunk/reference/com/com.xml
===================================================================
--- phpdoc/en/trunk/reference/com/com.xml	2020-02-25 13:53:54 UTC (rev 349252)
+++ phpdoc/en/trunk/reference/com/com.xml	2020-02-26 10:20:49 UTC (rev 349253)
@@ -2,15 +2,15 @@
 <!-- $Revision$ -->
 <!-- splitted from ./en/functions/com.xml, last change in rev 1.12 -->
 <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>The COM class</title>
+ <titleabbrev>com</titleabbrev>
+ <title>The com class</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
+    The com class allows you to instantiate an OLE compatible COM object and
     call its methods and access its properties.
    </para>
   </section>
@@ -21,17 +21,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>
@@ -63,15 +63,15 @@
   </section>

   <section xml:id="class.com.examples">
-   <title>COM examples</title>
+   <title>com examples</title>
    <para>
     <example xml:id="example.com1">
-     <title>COM example (1)</title>
+     <title>com example (1)</title>
      <programlisting role="php">
 <![CDATA[
 <?php
 // starting 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";

 //bring it to front
@@ -96,12 +96,12 @@
    </para>
    <para>
     <example xml:id="example.com2">
-     <title>COM example (2)</title>
+     <title>com example (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/en/trunk/reference/com/dotnet/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/com/dotnet/construct.xml	2020-02-25 13:53:54 UTC (rev \
                349252)
+++ phpdoc/en/trunk/reference/com/dotnet/construct.xml	2020-02-26 10:20:49 UTC (rev \
349253) @@ -3,20 +3,20 @@

 <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 class constructor</refpurpose>
+  <refname>dotnet::__construct</refname>
+  <refpurpose>dotnet class constructor</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>
-   Constructs a new DOTNET object.
+   Constructs a new dotnet object.
   </para>
  </refsect1>


Modified: phpdoc/en/trunk/reference/com/dotnet.xml
===================================================================
--- phpdoc/en/trunk/reference/com/dotnet.xml	2020-02-25 13:53:54 UTC (rev 349252)
+++ phpdoc/en/trunk/reference/com/dotnet.xml	2020-02-26 10:20:49 UTC (rev 349253)
@@ -1,15 +1,15 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
 <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>The DOTNET class</title>
+ <titleabbrev>dotnet</titleabbrev>
+ <title>The dotnet class</title>
  <partintro>

-<!-- {{{ DOTNET intro -->
+<!-- {{{ dotnet intro -->
   <section xml:id="dotnet.intro">
    &reftitle.intro;
    <para>
-    The DOTNET class allows you to instantiate a class from a .Net assembly and
+    The dotnet class allows you to instantiate a class from a .Net assembly and
     call its methods and access its properties, if the class and the methods and
     properties are <link xlink:href="&url.com.visible;">visible to COM</link>.
    </para>
@@ -27,17 +27,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>
@@ -62,20 +62,20 @@
     interoperability layer provided by the .Net runtime.
    </para>
    <para>
-    Once you have created a DOTNET object, PHP treats it identically to any
+    Once you have created a dotnet object, PHP treats it identically to any
     other COM object; all the same rules apply.
    </para>
   </section>

   <section xml:id="class.dotnet.examples">
-   <title>DOTNET examples</title>
+   <title>dotnet examples</title>
    <para>
     <example xml:id="example.dotnet">
-     <title>DOTNET example</title>
+     <title>dotnet example</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/en/trunk/reference/com/variant/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/com/variant/construct.xml	2020-02-25 13:53:54 UTC (rev \
                349252)
+++ phpdoc/en/trunk/reference/com/variant/construct.xml	2020-02-26 10:20:49 UTC (rev \
349253) @@ -3,20 +3,20 @@

 <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 class constructor</refpurpose>
+  <refname>variant::__construct</refname>
+  <refpurpose>variant class constructor</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>
-   Constructs a new VARIANT object.
+   Constructs a new variant object.
   </para>
  </refsect1>

@@ -35,13 +35,13 @@
     <term><parameter>type</parameter></term>
     <listitem>
      <simpara>
-      Specifies the content type of the VARIANT object. Possible values are
+      Specifies the content type of the variant object. Possible values are
       one of the <constant>VT_XXX</constant> <xref
       linkend="com.constants"/>.
      </simpara>
      <simpara>
       PHP can detect parameters passed by reference
-      automatically; they do not even need to be passed as VARIANT objects.
+      automatically; they do not even need to be passed as variant objects.
      </simpara>
      <simpara>
       Consult the <acronym>MSDN</acronym> library for additional information

Modified: phpdoc/en/trunk/reference/com/variant.xml
===================================================================
--- phpdoc/en/trunk/reference/com/variant.xml	2020-02-25 13:53:54 UTC (rev 349252)
+++ phpdoc/en/trunk/reference/com/variant.xml	2020-02-26 10:20:49 UTC (rev 349253)
@@ -1,16 +1,16 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
 <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 class</title>
+ <titleabbrev>variant</titleabbrev>
+ <title>variant class</title>
  <partintro>

-<!-- {{{ VARIANT intro -->
+<!-- {{{ variant intro -->
   <section xml:id="variant.intro">
    &reftitle.intro;
    <para>
     The VARIANT is COM's equivalent of the PHP zval; it is a structure that
-    can contain a value with a range of different possible types.  The VARIANT
+    can contain a value with a range of different possible types.  The variant
     class provided by the COM extension allows you to have more control over
     the way that PHP passes values to and from COM.
    </para>
@@ -22,12 +22,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>
 <!-- }}} -->
@@ -42,14 +42,14 @@
   </section>

   <section xml:id="class.variant.examples">
-   <title>VARIANT examples</title>
+   <title>variant examples</title>
    <para>
     <example xml:id="com.variant.example.php5">
-     <title>Variant example</title>
+     <title>variant example</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 @@
      a value or fetching a variant property, the variant is converted to a PHP
      value only when there is a direct mapping between the types that would
      not result in a loss of information.  In all other cases, the result is
-     returned as an instance of the VARIANT class.  You can force PHP to
+     returned as an instance of the variant class.  You can force PHP to
      convert or evaluate the variant as a PHP native type by using a casting
      operator explicitly, or implicitly casting to a string by
      <function>print</function>ing it.  You may use the wide range of variant



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic