Use a real entity (s/&reference.com.variant-arith;/&com.variant-arith;/g)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@248157 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-12-13 17:49:45 +00:00
parent 15806a7c94
commit 3ece7b1d9b
29 changed files with 54 additions and 78 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/com.xml, last change in rev 1.7 -->
<refentry xml:id="function.com-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -36,7 +36,7 @@ $var = com_get($obj, 'property');
</example>
</para>
&reference.com.use-oo-instead;
&com.use-oo-instead;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.5 $ -->
<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/com.xml, last change in rev 1.7 -->
<refentry xml:id="function.com-invoke" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -42,7 +42,7 @@ $val = com_invoke($obj, 'method', $one, $two);
</example>
</para>
&reference.com.use-oo-instead;
&com.use-oo-instead;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/com.xml, last change in rev 1.27 -->
<refentry xml:id='function.com-isenum' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -22,7 +22,7 @@
<para>
This function does not exist in PHP 5; use the more natural
<link linkend="control-structures.foreach">foreach</link> statement to iterate
over the contents of COM objects. See <xref linkend="com.foreach"/> for
over the contents of COM objects. See <xref linkend="com.examples.foreach"/> for
more details.
</para>
</note>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/com.xml, last change in rev 1.7 -->
<refentry xml:id="function.com-propget" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -13,7 +13,7 @@
&info.function.alias;
<function>com_get</function>.
</simpara>
&reference.com.use-oo-instead;
&com.use-oo-instead;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/com.xml, last change in rev 1.7 -->
<refentry xml:id="function.com-propput" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -13,7 +13,7 @@
&info.function.alias;
<function>com_set</function>.
</simpara>
&reference.com.use-oo-instead;
&com.use-oo-instead;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- $Revision: 1.7 $ -->
<!-- splitted from ./en/functions/com.xml, last change in rev 1.7 -->
<refentry xml:id="function.com-propset" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -13,7 +13,7 @@
&info.function.alias;
<function>com_set</function>.
</simpara>
&reference.com.use-oo-instead;
&com.use-oo-instead;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/com.xml, last change in rev 1.7 -->
<refentry xml:id="function.com-set" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -39,7 +39,7 @@ com_set($obj, 'property', $value);
</para>
&reference.com.use-oo-instead;
&com.use-oo-instead;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry xml:id="function.variant-abs" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>variant_abs</refname>
@ -22,7 +22,7 @@
See also <function>abs</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-add" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -65,7 +65,7 @@
See also <function>variant_sub</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-and" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -47,7 +47,7 @@
See also <function>variant_or</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-cat" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -27,7 +27,7 @@
<parameter>$left</parameter> <literal>.</literal> <parameter>$right</parameter>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-cmp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -119,7 +119,7 @@
</table>
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-div" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -72,7 +72,7 @@
</table>
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-eqv" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -22,7 +22,7 @@
&false; is returned.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-fix" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -38,7 +38,7 @@
</simpara>
</warning>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-idiv" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -64,7 +64,7 @@
<para>
See also <function>variant_div</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-imp" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -43,7 +43,7 @@
</table>
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-int" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -29,7 +29,7 @@
<function>round</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-mod" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -26,7 +26,7 @@
<function>variant_idiv</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-mul" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -69,7 +69,7 @@
<function>variant_idiv</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-neg" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -20,7 +20,7 @@
the result.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-not" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -21,7 +21,7 @@
result will also be &null;.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-or" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -46,7 +46,7 @@
See also <function>variant_and</function>,
<function>variant_xor</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-pow" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -25,7 +25,7 @@
See also <function>pow</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-round" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -25,7 +25,7 @@
See also <function>round</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-sub" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -64,7 +64,7 @@
See also <function>variant_add</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
<refentry xml:id="function.variant-xor" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@ -42,7 +42,7 @@
See also <function>variant_and</function>,
<function>variant_or</function>.
</para>
&reference.com.variant-arith;
&com.variant-arith;
</refsect1>
</refentry>

View file

@ -1,7 +0,0 @@
<!-- $Revision: 1.3 $ -->
<note xmlns="http://docbook.org/ns/docbook">
<simpara>
This function does not exist in PHP 5; instead, you should use the regular
and more natural OO syntax to access properties or call methods.
</simpara>
</note>

View file

@ -1,17 +0,0 @@
<!-- $Revision: 1.3 $ -->
<note xmlns="http://docbook.org/ns/docbook">
<para>
As with all the variant arithmetic functions, the parameters for this function
can be either a PHP native type (integer, string, floating point, boolean or
&null;), or an instance of a COM, VARIANT or DOTNET class. PHP native types
will be converted to variants using the same rules as found in the constructor
for the <xref linkend="class.variant"/> class. COM and DOTNET objects
will have the value of their default property taken and used as the variant value.
</para>
<para>
The variant arithmetic functions are wrappers around the similarly named
functions in the COM library; for more information on these functions, consult
the MSDN library. The PHP functions are named slightly differently; for example
variant_add() in PHP corresponds to VarAdd() in the MSDN documentation.
</para>
</note>