cvs: phpdoc /en language-snippets.ent
| From: | Hannes Magnusson | Date: | Thu, 13 Dec 2007 17:59:01 +0000 |
| Subject: | cvs: phpdoc /en language-snippets.ent | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-626@lists.php.net to get a copy of this message | ||
bjori Thu Dec 13 17:59:01 2007 UTC
Modified files:
/phpdoc/en language-snippets.ent
Log:
MFB:
- Update DOMNode->appendChild linkend
- Update http.HttpResponse linkend
- Move COM notes here from en/reference/com/use-oo-instead.xml & variant-arith.xml
- Move openssl notes here from en/reference/openssl/note-openssl-cnf.xml &
parameter-notext.xml
http://cvs.php.net/viewvc.cgi/phpdoc/en/language-snippets.ent?r1=1.211&r2=1.212&diff_format=u
Index: phpdoc/en/language-snippets.ent
diff -u phpdoc/en/language-snippets.ent:1.211 phpdoc/en/language-snippets.ent:1.212
--- phpdoc/en/language-snippets.ent:1.211 Fri Dec 7 01:14:25 2007
+++ phpdoc/en/language-snippets.ent Thu Dec 13 17:59:01 2007
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.211 $ -->
+<!-- $Revision: 1.212 $ -->
<!-- Keep 'em sorted -->
@@ -321,7 +321,7 @@
<!-- Dom Notes -->
<!ENTITY dom.node.inserted 'This node will not show up in the document unless
it is inserted with e.g. <link
-linkend="function.dom-domnode-appendchild">DOMNode->appendChild()</link>.'>
+linkend="domnode.appendchild">DOMNode->appendChild()</link>.'>
<!-- FileSystem entities -->
@@ -805,7 +805,7 @@
<!ENTITY returns.http.false.orexits 'Returns &false; or
<emphasis>exits</emphasis> on success'>
<!ENTITY http.request.affects 'Affects the following request method(s) only:'>
<!ENTITY http.request.affects.any 'Affects any request method.'>
-<!ENTITY http.response.class.php51 'the <link
linkend="http.HttpResponse"><classname
+<!ENTITY http.response.class.php51 'the <link
linkend="class.httpresponse"><classname
>HttpResponse</classname></link> class if you are using PHP-5.1 and
>above'>
<!ENTITY http.maynotwork.SAPI 'This may not work as expected with the following
SAPI(s):'>
<!ENTITY http.content.disposition 'The <literal>Content-Disposition</literal>
header is very useful
@@ -842,3 +842,45 @@
<!ENTITY imagick.imagickdraw.throws 'Throws ImagickDrawException on error.'>
<!ENTITY imagick.imagickpixel.throws 'Throws ImagickPixelException on error.'>
<!ENTITY imagick.imagickpixeliterator.throws 'Throws ImagickPixelIteratorException on
error.'>
+
+<!ENTITY note.openssl.cnf '<note xmlns="http://docbook.org/ns/docbook">
+ <simpara>
+ You need to have a valid <filename>openssl.cnf</filename> installed for
+ this function to operate correctly.
+ See the notes under <link linkend="openssl.installation">the installation
+ section</link> for more information.
+ </simpara>
+</note>'>
+<!ENTITY note.openssl.param-notext '<para xmlns="http://docbook.org/ns/docbook">
+ The optional parameter <parameter>notext</parameter> affects
+ the verbosity of the output; if it is &false; then additional human-readable
+ information is included in the output. The default value of
+ <parameter>notext</parameter> is &true;.
+</para>'>
+
+<!-- COM/Dotnet -->
+<!ENTITY com.variant-arith '<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>
+'>
+<!ENTITY com.use-oo-instead '<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>
+'>
+