techtonik Fri Nov 19 06:04:11 2004 EDT
Modified files:
/phpdoc/howto working.xml
Log:
::__ and ->__ should be compressed to one minus sign
http://cvs.php.net/diff.php/phpdoc/howto/working.xml?r1=1.49&r2=1.50&ty=u
Index: phpdoc/howto/working.xml
diff -u phpdoc/howto/working.xml:1.49 phpdoc/howto/working.xml:1.50
--- phpdoc/howto/working.xml:1.49 Thu Nov 18 12:58:15 2004
+++ phpdoc/howto/working.xml Fri Nov 19 06:04:11 2004
@@ -132,10 +132,13 @@
Unlike function reference IDs method reference IDs are
case-sensitive. Special operators <literal>::</literal>,
<literal>-></literal> and underscores are replaced by the same
- minus signs (-). For example
<literal>function.ArrayObject---constructor</literal>
- is an ID for <literal>ArrayObject::__constructor</literal> and
- <literal>function.DOMCharacterData-deleteData</literal> is for
- <literal>DOMCharacterData->deleteData</literal> method accordingly.
+ minus signs (-). For example
<literal>function.DOMCharacterData-deleteData</literal>
+ is an ID for <literal>DOMCharacterData->deleteData</literal> and
+ <literal>function.ArrayObject-constructor</literal>
+ is for <literal>ArrayObject::__constructor</literal>
+ method accordingly. Note an exception when operators <literal>::</literal>
+ and <literal>-></literal> followed by two underscores are replaced with
+ one minus sign (-).
</simpara></listitem>
<listitem><simpara>
Function reference section IDs
@@ -491,7 +494,7 @@
<title>A function skeleton (<filename>func-name.xml</filename>)</title>
<programlisting role="xml">
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.49 $ -->
+<!-- $Revision: 1.50 $ -->
<refentry id="function.func-name">
<refnamediv>
<refname>func_name</refname>
@@ -650,7 +653,7 @@
<title>A <filename>reference.xml</filename> skeleton</title>
<programlisting role="xml">
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.49 $ -->
+<!-- $Revision: 1.50 $ -->
<reference id="ref.extname">
<title>Extname &Functions;</title>
<titleabbrev>Extname</titleabbrev>
@@ -717,7 +720,7 @@
<title>A <filename>configure.xml</filename> skeleton</title>
<programlisting role="xml">
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.49 $ -->
+<!-- $Revision: 1.50 $ -->
<section id="extname.installation">
&reftitle.install;
<para>
@@ -758,7 +761,7 @@
<title>A <filename>constants.xml</filename> skeleton</title>
<programlisting role="xml">
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.49 $ -->
+<!-- $Revision: 1.50 $ -->
<section id="extname.constants">
&reftitle.constants;
&extension.constants;
@@ -808,7 +811,7 @@
<title>A <filename>ini.xml</filename> skeleton</title>
<programlisting role="xml">
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.49 $ -->
+<!-- $Revision: 1.50 $ -->
<section id="extname.configuration">
&reftitle.runtime;
&extension.runtime;