svn: /phpdoc/en/trunk/ language-snippets.ent

From: Date: Mon, 10 Oct 2011 19:53:56 +0000
Subject: svn: /phpdoc/en/trunk/ language-snippets.ent
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-8924@lists.php.net to get a copy of this message
osmanov Mon, 10 Oct 2011 19:53:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=317988 Log: Fix: shortened long phrase Changed paths: U phpdoc/en/trunk/language-snippets.ent Modified: phpdoc/en/trunk/language-snippets.ent =================================================================== --- phpdoc/en/trunk/language-snippets.ent 2011-10-10 19:35:52 UTC (rev 317987) +++ phpdoc/en/trunk/language-snippets.ent 2011-10-10 19:53:56 UTC (rev 317988) @@ -1513,21 +1513,16 @@ '> <!-- Eio --> -<!ENTITY eio.callback.proto '<para xmlns="http://docbook.org/ns/docbook">Function specified by -<parameter xmlns="http://docbook.org/ns/docbook">callback</parameter> is called when the request is done. -<parameter xmlns="http://docbook.org/ns/docbook">callback</parameter> should match the following prototype: -<programlisting role="php"><![CDATA[ +<!ENTITY eio.callback.proto '<para xmlns="http://docbook.org/ns/docbook"> +<parameter xmlns="http://docbook.org/ns/docbook">callback</parameter> function is called when the request is done. +It should match the following prototype: <programlisting role="php"><![CDATA[ void callback($data, $result); -]]> -</programlisting> +]]></programlisting> <parameter xmlns="http://docbook.org/ns/docbook">$data</parameter> is custom -data passed in <emphasis>eio_*()</emphasis> call. <parameter -xmlns="http://docbook.org/ns/docbook">$result</parameter> contains <emphasis -xmlns="http://docbook.org/ns/docbook">eio_*</emphasis> function specific value. -Basically, contains the same value as return value of corresponding POSIX -system call. E.g. for <function -xmlns="http://docbook.org/ns/docbook">eio_open</function> it is a file -descriptor. +data passed to the request. +<parameter xmlns="http://docbook.org/ns/docbook">$result</parameter> contains +request-specific result value; basically, the value returned by corresponding +system call. </para> '>

« previous php.doc.cvs (#8924) next »