rafael Wed Jun 5 09:34:08 2002 EDT
Added files:
/phpdoc-es/reference/bzip2 functions.xml reference.xml
Log:
Translation updated to PHP 4.x
Index: phpdoc-es/reference/bzip2/functions.xml
+++ phpdoc-es/reference/bzip2/functions.xml
&reference.bzip2.functions.bzclose;
&reference.bzip2.functions.bzcompress;
&reference.bzip2.functions.bzdecompress;
&reference.bzip2.functions.bzerrno;
&reference.bzip2.functions.bzerror;
&reference.bzip2.functions.bzerrstr;
&reference.bzip2.functions.bzflush;
&reference.bzip2.functions.bzopen;
&reference.bzip2.functions.bzread;
&reference.bzip2.functions.bzwrite;
Index: phpdoc-es/reference/bzip2/reference.xml
+++ phpdoc-es/reference/bzip2/reference.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.3 Maintainer: rafael Status: ready -->
<reference id="ref.bzip2">
<title>Funciones de compresión Bzip2</title>
<titleabbrev>Bzip2</titleabbrev>
<partintro>
<section id="bzip2.intro">
&reftitle.intro;
<para>
Las funciones bzip2 son usadas para leer y escribir de forma transparente,
ficheros comprimidos bzip2 (.bz2)
</para>
</section>
<section id="bzip2.requirements">
&reftitle.required;
<para>
Este módulo usa las funciones de la biblioteca <ulink
url="&url.bzip2;">bzip2</ulink> de Julian Seward.
</para>
</section>
<section id="bzip2.installation">
&reftitle.install;
<para>
El soporte Bzip2 en PHP no está activado por defecto. Necesitais usar
la opción de configuración <link
linkend="install.configure.with-bz2">--with-bz2</link>
cuando vayais a compilar PHP, si quereis soporte bzip2. Este módulo
requiere bzip2/libbzip2 versión >= 1.0.x.
</para>
</section>
<section id="bzip2.configuration">
&reftitle.runtime;
&no.config;
</section>
<section id="bzip2.resources">
&reftitle.resources;
<para>
Esta extensión define un tipo de recurso: un puntero de fichero
que identifica el fichero bz2 con el que se va a trabajar.
</para>
</section>
<section id="bzip2.constants">
&reftitle.constants;
&no.constants;
</section>
<section id="bzip2.examples">
&reftitle.examples;
<para>
Este ejemplo abre un fichero temporal, escribe una cadena literal
en el y presenta el contenido de dicho fichero.
</para>
<example>
<title>Ejemplo simple de bzip2</title>
<programlisting role="php">
<![CDATA[
<?php
$filename = "/tmp/testfile.bz2";
$str = "This is a test string.\n";
// open file for writing
$bz = bzopen($filename, "w");
// write string to file
bzwrite($bz, $str);
// close file
bzclose($bz);
// open file for reading
$bz = bzopen($filename, "r");
// read 10 characters
print bzread($bz, 10);
// output until end of the file (or the next 1024 char) and close it.
print bzread($bz);
bzclose($bz);
?>
]]>
</programlisting>
</example>
</section>
</partintro>
&reference.bzip2.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->