philip Mon Jan 15 17:42:13 2007 UTC
Modified files:
/phpdoc/en/reference/recode/functions recode-file.xml
recode-string.xml
Log:
WS, prepare for new doc style
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/recode/functions/recode-file.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/recode/functions/recode-file.xml
diff -u phpdoc/en/reference/recode/functions/recode-file.xml:1.4
phpdoc/en/reference/recode/functions/recode-file.xml:1.5
--- phpdoc/en/reference/recode/functions/recode-file.xml:1.4 Mon Dec 15
16:53:22 2003
+++ phpdoc/en/reference/recode/functions/recode-file.xml Mon Jan 15
17:42:13 2007
@@ -1,36 +1,34 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/recode.xml, last change in rev 1.2 -->
- <refentry id="function.recode-file">
- <refnamediv>
- <refname>recode_file</refname>
- <refpurpose>
- Recode from file to file according to recode request
- </refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>bool</type><methodname>recode_file</methodname>
-
<methodparam><type>string</type><parameter>request</parameter></methodparam>
-
<methodparam><type>resource</type><parameter>input</parameter></methodparam>
-
<methodparam><type>resource</type><parameter>output</parameter></methodparam>
- </methodsynopsis>
- <para>
- Recode the file referenced by file handle
- <parameter>input</parameter> into the file referenced by file
- handle <parameter>output</parameter> according to the recode
- <parameter>request</parameter>. Returns &false;, if unable to
- comply, &true; otherwise.
- </para>
- <para>
- This function does not currently process filehandles referencing
- remote files (URLs). Both filehandles must refer to local files.
- </para>
- <para>
- <example>
- <title>Basic <function>recode_file</function> example</title>
- <programlisting role="php">
+<refentry id="function.recode-file">
+ <refnamediv>
+ <refname>recode_file</refname>
+ <refpurpose>Recode from file to file according to recode request</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>bool</type><methodname>recode_file</methodname>
+ <methodparam><type>string</type><parameter>request</parameter></methodparam>
+ <methodparam><type>resource</type><parameter>input</parameter></methodparam>
+
<methodparam><type>resource</type><parameter>output</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Recode the file referenced by file handle
+ <parameter>input</parameter> into the file referenced by file
+ handle <parameter>output</parameter> according to the recode
+ <parameter>request</parameter>. Returns &false;, if unable to
+ comply, &true; otherwise.
+ </para>
+ <para>
+ This function does not currently process filehandles referencing
+ remote files (URLs). Both filehandles must refer to local files.
+ </para>
+ <para>
+ <example>
+ <title>Basic <function>recode_file</function> example</title>
+ <programlisting role="php">
<![CDATA[
<?php
$input = fopen('input.txt', 'r');
@@ -38,11 +36,11 @@
recode_file("us..flat", $input, $output);
?>
]]>
- </programlisting>
- </example>
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/recode/functions/recode-string.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/recode/functions/recode-string.xml
diff -u phpdoc/en/reference/recode/functions/recode-string.xml:1.4
phpdoc/en/reference/recode/functions/recode-string.xml:1.5
--- phpdoc/en/reference/recode/functions/recode-string.xml:1.4 Mon Dec 15
16:53:22 2003
+++ phpdoc/en/reference/recode/functions/recode-string.xml Mon Jan 15
17:42:13 2007
@@ -1,40 +1,40 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<!-- splitted from ./en/functions/recode.xml, last change in rev 1.2 -->
- <refentry id="function.recode-string">
- <refnamediv>
- <refname>recode_string</refname>
- <refpurpose>Recode a string according to a recode request</refpurpose>
- </refnamediv>
- <refsect1>
- <title>Description</title>
- <methodsynopsis>
- <type>string</type><methodname>recode_string</methodname>
-
<methodparam><type>string</type><parameter>request</parameter></methodparam>
-
<methodparam><type>string</type><parameter>string</parameter></methodparam>
- </methodsynopsis>
- <para>
- Recode the string <parameter>string</parameter> according to
- the recode request <parameter>request</parameter>. Returns the
- recoded string or &false;, if unable to perform the recode request.
- </para>
- <para>
- A simple recode request may be "lat1..iso646-de".
- See also the GNU Recode documentation of your installation
- for detailed instructions about recode requests.
- <example>
- <title>Basic <function>recode_string</function> example:</title>
- <programlisting role="php">
+<refentry id="function.recode-string">
+ <refnamediv>
+ <refname>recode_string</refname>
+ <refpurpose>Recode a string according to a recode request</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <methodsynopsis>
+ <type>string</type><methodname>recode_string</methodname>
+ <methodparam><type>string</type><parameter>request</parameter></methodparam>
+ <methodparam><type>string</type><parameter>string</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Recode the string <parameter>string</parameter> according to
+ the recode request <parameter>request</parameter>. Returns the
+ recoded string or &false;, if unable to perform the recode request.
+ </para>
+ <para>
+ A simple recode request may be "lat1..iso646-de".
+ See also the GNU Recode documentation of your installation
+ for detailed instructions about recode requests.
+ <example>
+ <title>Basic <function>recode_string</function> example:</title>
+ <programlisting role="php">
<![CDATA[
<?php
echo recode_string("us..flat", "The following character has a diacritical
mark: á");
?>
]]>
- </programlisting>
- </example>
- </para>
- </refsect1>
- </refentry>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+</refentry>
<!-- Keep this comment at the end of the file
Local variables: