mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
lzf: fix XML by converting para to simpara tags via script
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<book xml:id="book.lzf" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<book xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="book.lzf">
|
||||
<?phpdoc extension-membership="pecl" ?>
|
||||
<title>LZF</title>
|
||||
<titleabbrev>LZF</titleabbrev>
|
||||
@@ -9,12 +8,12 @@
|
||||
<!-- {{{ preface -->
|
||||
<preface xml:id="intro.lzf">
|
||||
&reftitle.intro;
|
||||
<para>
|
||||
<simpara>
|
||||
LZF is a very fast compression algorithm, ideal for saving space with
|
||||
only slight speed cost. It can be optimized for speed or space at the
|
||||
time of compilation. This extension is using <link xlink:href="&url.liblzf;">liblzf</link>
|
||||
library by Marc Lehmann for its operations.
|
||||
</para>
|
||||
</simpara>
|
||||
</preface>
|
||||
<!-- }}} -->
|
||||
|
||||
@@ -22,7 +21,6 @@
|
||||
&reference.lzf.reference;
|
||||
|
||||
</book>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
@@ -43,4 +41,3 @@ vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
||||
|
||||
@@ -1,25 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<section xml:id="lzf.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<section xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="lzf.installation">
|
||||
&reftitle.install;
|
||||
<para>
|
||||
<simpara>
|
||||
&pecl.moved;
|
||||
&pecl.info;
|
||||
<link xlink:href="&url.pecl.package;lzf">&url.pecl.package;lzf</link>.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
In order to use these functions you must compile PHP with lzf support
|
||||
by using the <option role="configure">--with-lzf[=DIR]</option>
|
||||
configure option. You may also pass
|
||||
<option role="configure">--enable-lzf-better-compression</option> to
|
||||
by using the <option role="configure">--with-lzf[=DIR]</option>
|
||||
configure option. You may also pass
|
||||
<option role="configure">--enable-lzf-better-compression</option> to
|
||||
optimize LZF for space rather than speed.
|
||||
</para>
|
||||
<para>
|
||||
</simpara>
|
||||
<simpara>
|
||||
Windows users will enable <filename>php_lzf.dll</filename> inside
|
||||
of &php.ini; in order to use these functions.
|
||||
</para>
|
||||
</simpara>
|
||||
</section>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
<type>string</type><methodname>lzf_compress</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
<function>lzf_compress</function> compresses the given
|
||||
<parameter>data</parameter> string using LZF encoding.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -25,18 +25,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
The string to compress.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Returns the compressed data or &false; if an error occurred.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
<type>string</type><methodname>lzf_decompress</methodname>
|
||||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
<function>lzf_compress</function> decompresses the given
|
||||
<parameter>data</parameter> string containing lzf encoded data.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
@@ -25,18 +25,18 @@
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
<simpara>
|
||||
The compressed string.
|
||||
</para>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Returns the decompressed data or &false; if an error occurred.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- Generated by xml_proto.php v2.0. Found in /scripts directory of phpdoc. -->
|
||||
<refentry xml:id="function.lzf-optimized-for" xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.lzf-optimized-for">
|
||||
<refnamediv>
|
||||
<refname>lzf_optimized_for</refname>
|
||||
<refpurpose>
|
||||
@@ -14,9 +14,9 @@
|
||||
<type>int</type><methodname>lzf_optimized_for</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<simpara>
|
||||
Determines what was LZF extension optimized for during compilation.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
@@ -26,9 +26,9 @@
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
<simpara>
|
||||
Returns 1 if LZF was optimized for speed, 0 for compression.
|
||||
</para>
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
<!-- Keep this comment at the end of the file
|
||||
|
||||
Reference in New Issue
Block a user