cvs: phpdoc-es / translation.xml /reference/bzip2/functions bzclose.xml bzcompress.xml bzdecompress.xml bzerrno.xml bzerror.xml bzerrstr.xml
bzflush.xml bzopen.xml bzread.xml bzwrite.xml
| From: | Enrique Garcia Briones | Date: | Fri, 18 Jun 2004 16:50:07 +0000 |
| Subject: | cvs: phpdoc-es / translation.xml /reference/bzip2/functions bzclose.xml bzcompress.xml bzdecompress.xml bzerrno.xml bzerror.xml bzerrstr.xml bzflush.xml bzopen.xml bzread.xml bzwrite.xml |
||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-618@lists.php.net to get a copy of this message | ||
baoengb Fri Jun 18 12:50:07 2004 EDT
Added files:
/phpdoc-es/reference/bzip2/functions bzclose.xml bzcompress.xml
bzdecompress.xml bzerrno.xml
bzerror.xml bzerrstr.xml
bzflush.xml bzopen.xml
bzread.xml bzwrite.xml
Modified files:
/phpdoc-es translation.xml
Log:
Traduccion
http://cvs.php.net/diff.php/phpdoc-es/translation.xml?r1=1.152&r2=1.153&ty=u Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.152 phpdoc-es/translation.xml:1.153 --- phpdoc-es/translation.xml:1.152 Thu Jun 3 03:21:40 2004 +++ phpdoc-es/translation.xml Fri Jun 18 12:50:05 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.152 $ --> +<!-- $Revision: 1.153 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -147,36 +147,6 @@ <file name="reference/pdf/pdf-attach-file.xml" person="jtacon" type="translation" date="29.01.2004"/> - - <file name="reference/bzip2/bzclose.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzcompress.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzdecompress.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzerrno.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzerror.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzerrstr.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzflush.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzopen.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzread.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzwrite.xml" person="baoengb" - type="translation" date="02.06.2004"/> <file name="language/oop.xml" person="lboshell" type="review" date="03.06.2004" /> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzclose.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzclose.xml +++ phpdoc-es/reference/bzip2/functions/bzclose.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzclose"> <refnamediv> <refname>bzclose</refname> <refpurpose>Cierra un archivo bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzclose</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Cierra el archivo bzip2 referenciado por el apuntador <parameter>bz</parameter>. </para> <para> &return.success; </para> <para> El apuntador del archivo debe ser valido, y debe apuntar a un archivo exitosamente abierto por <function>bzopen</function>. </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzopen</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzcompress.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzcompress.xml +++ phpdoc-es/reference/bzip2/functions/bzcompress.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzcompress"> <refnamediv> <refname>bzcompress</refname> <refpurpose>Comprime una cadena a una forma de datos codificados bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzcompress</methodname> <methodparam><type>cadena</type><parameter>source</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>blocksize</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>workfactor</parameter></methodparam> </methodsynopsis> <para> <function>bzcompress</function> comprime la cadena representadada por el parámetro <parameter>source</parameter> y la regresa en forma de datos codificados bzip2. </para> <para> El parámetro opciona <parameter>blocksize</parameter> específica el tamaño del bloque a ser usado durante la compresión y debe ser un número entre 1 y 9, con 9 se da la mejor compresión, pero usa más recursos para hacerlo. el parámetro tiene valor 4 por defecto. </para> <para> El parámetro opcional <parameter>workfactor</parameter> controla como se debe actuar en la fase de compresión cuando se encuentre con el peor caso, altamente repetitiva entrada de datos. El valor puede estar entre 0 y 250, 0 es un caso especial y 30 es el valor por defecto. Sin importar el valor del <parameter>workfactor</parameter>, la salida generada será la misma. </para> </refsect1> <refsect1> <para> See also <function>bzdecompress</function>. </para> </refsect1> <refsect1> <title>Ejemplo</title> <example> <title>Comprimiendo datos</title> <programlisting role="php"> <![CDATA[ <?php $str = "sample data"; $bzstr = bzcompress($str, 9); echo $bzstr; ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzdecompress.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzdecompress.xml +++ phpdoc-es/reference/bzip2/functions/bzdecompress.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzdecompress"> <refnamediv> <refname>bzdecompress</refname> <refpurpose>Descomprime datos encodificados bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzdecompress</methodname> <methodparam><type>cadena</type><parameter>source</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>small</parameter></methodparam> </methodsynopsis> <para> <function>bzdecompress</function> toma la cadena con datos codificados bzip2, representada por el parámetro <parameter>source</parameter>, y la regresa descodificada. Si el parámetro opcional <parameter>small</parameter> es &true;, un algoritmo de descompresión alternativo será usado, el cual usa menos memoria (el máximo de memoria usada es al readedor de 2300K) pero trabaja dificilmente a la mitad de la velocidad. Vea la <ulink url="&url.bzip2;">documentacion de bzip</ulink> para más información acerca de esta caracterísitoca. </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzcompress</function>. </para> </refsect1> <refsect1> <title>Ejemplo</title> <example> <title>Descomprimir una cadena</title> <programlisting role="php"> <![CDATA[ <?php $start_str = "This is not an honest face?"; $bzstr = bzcompress($start_str); echo "Compressed String: "; echo $bzstr; echo "\n<br />\n"; $str = bzdecompress($bzstr); echo "Decompressed String: "; echo $str; echo "\n<br />\n"; ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzerrno.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzerrno.xml +++ phpdoc-es/reference/bzip2/functions/bzerrno.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzerrno"> <refnamediv> <refname>bzerrno</refname> <refpurpose>Regresa el número de error bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzerrno</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Regresa el número de error regresado por el archivo apuntado por <parameter>bz</parameter>. </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzerror</function>, <function>bzerrstr</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzerror.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzerror.xml +++ phpdoc-es/reference/bzip2/functions/bzerror.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzerror"> <refnamediv> <refname>bzerror</refname> <refpurpose>Regresa el número de error y la cadena de error bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>matriz</type><methodname>bzerror</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Regresa el número de error y la cadena de error, en una matriz asociativa, obtenido por el archivo apuntado. <parameter>bz</parameter>. </para> <para> <example> <title><function>bzerror</function> ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $error = bzerror($bz); echo $error["errno"]; echo $error["errstr"]; ?> ]]> </programlisting> </example> </para> <para> See also <function>bzerrno</function> and <function>bzerrstr</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzerrstr.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzerrstr.xml +++ phpdoc-es/reference/bzip2/functions/bzerrstr.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzerrstr"> <refnamediv> <refname>bzerrstr</refname> <refpurpose>Regresa la cadena de error bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzerrstr</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Regresa la cadena de error de cualquier error regresado por el archivo apuntado por <parameter>bz</parameter>. </para> <para> Vea también <function>bzerrno</function>, <function>bzerror</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzflush.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzflush.xml +++ phpdoc-es/reference/bzip2/functions/bzflush.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzflush"> <refnamediv> <refname>bzflush</refname> <refpurpose>Forza la escritura de todos los datos en el almacenamiento intermedio</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzflush</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Fuerza la escritura de todos los datos en almacenamiento intermedio para el apuntador <parameter>bz</parameter>. </para> </refsect1> <refsect1> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzread</function>, <function>bzwrite</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzopen.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzopen.xml +++ phpdoc-es/reference/bzip2/functions/bzopen.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzopen"> <refnamediv> <refname>bzopen</refname> <refpurpose>Abre un archivo comprimido bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>resource</type><methodname>bzopen</methodname> <methodparam><type>cadena</type><parameter>filename</parameter></methodparam> <methodparam><type>cadena</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> <function>bzopen</function> abre un archivo bzip2 (.bz2) para lectura o escritura. <parameter>filename</parameter> es el nombre del archivo a abrir. <parameter>mode</parameter> es similar a la función <function>fopen</function> (`r' para lectura, `w' para escritura, etc.). </para> <para> Si falla la apertura del archivo, <function>bzopen</function> regresa &false;, en otro casi regresa un apuntador hacia el archivo recientemente abierto. </para> <para> <example> <title>Ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $file = "/tmp/foo.bz2"; $bz = bzopen($file, "r") or die("Couldn't open $file for reading"); bzclose($bz); ?> ]]> </programlisting> </example> </para> <para> vea también <function>bzclose</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzread.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzread.xml +++ phpdoc-es/reference/bzip2/functions/bzread.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzread"> <refnamediv> <refname>bzread</refname> <refpurpose>Lectura segura de archivos binarios bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzread</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <para> <function>bzread</function> lee hasta <parameter>length</parameter> en bytes del archivo bzip2 dado por el apuntador <parameter>bz</parameter>. La lectura se detiene cuando los bytes de datos sin comprimir alcanzan el tamaño de <parameter>length</parameter> o se encontr&oaucte; EOF, lo que ocurra primero. Si no se específica el parámetro opcional <parameter>length</parameter>, <function>bzread</function> leerá 1024 bytes de datos ya descomprimidos cada vez. </para> <para> <example> <title><function>bzread</function> ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $file = "/tmp/foo.bz2"; $bz = bzopen($file, "r") or die("Couldn't open $file"); $decompressed_file = ''; while (!feof($bz)) { $decompressed_file .= bzread($bz, 4096); } bzclose($bz); echo "The contents of $file are: <br />\n"; echo $decompressed_file; ?> ]]> </programlisting> </example> </para> <para> Vea también <function>bzwrite</function>, <function>feof</function>, <function>bzopen</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzwrite.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzwrite.xml +++ phpdoc-es/reference/bzip2/functions/bzwrite.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzwrite"> <refnamediv> <refname>bzwrite</refname> <refpurpose>Escribe en forma segura a un archivo binario bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzwrite</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> <methodparam><type>cadena</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <para> <function>bzwrite</function> escribe el contenido de la cadena <parameter>data</parameter> al archivo bzip2 apuntado por el parámetro <parameter>bz</parameter>. Si se da el parámetro opcional <parameter>length</parameter>, la escritura se detendrá después de la longitud (en forma no comprimida) se haya alcanzado o que se haya encontrado el fin de la cadena, lo que ocurra primero. </para> <para> <example> <title><function>bzwrite</function> ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $str = "uncompressed data"; $bz = bzopen("/tmp/foo.bz2", "w"); bzwrite($bz, $str, strlen($str)); bzclose($bz); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>bzread</function>, <function>bzopen</function>. </para> </refsect1> </refentry> <!-- 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 -->
http://cvs.php.net/diff.php/phpdoc-es/translation.xml?r1=1.152&r2=1.153&ty=u Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.152 phpdoc-es/translation.xml:1.153 --- phpdoc-es/translation.xml:1.152 Thu Jun 3 03:21:40 2004 +++ phpdoc-es/translation.xml Fri Jun 18 12:50:05 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.152 $ --> +<!-- $Revision: 1.153 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -147,36 +147,6 @@ <file name="reference/pdf/pdf-attach-file.xml" person="jtacon" type="translation" date="29.01.2004"/> - - <file name="reference/bzip2/bzclose.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzcompress.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzdecompress.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzerrno.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzerror.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzerrstr.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzflush.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzopen.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzread.xml" person="baoengb" - type="translation" date="02.06.2004"/> - - <file name="reference/bzip2/bzwrite.xml" person="baoengb" - type="translation" date="02.06.2004"/> <file name="language/oop.xml" person="lboshell" type="review" date="03.06.2004" /> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzclose.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzclose.xml +++ phpdoc-es/reference/bzip2/functions/bzclose.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzclose"> <refnamediv> <refname>bzclose</refname> <refpurpose>Cierra un archivo bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzclose</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Cierra el archivo bzip2 referenciado por el apuntador <parameter>bz</parameter>. </para> <para> &return.success; </para> <para> El apuntador del archivo debe ser valido, y debe apuntar a un archivo exitosamente abierto por <function>bzopen</function>. </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzopen</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzcompress.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzcompress.xml +++ phpdoc-es/reference/bzip2/functions/bzcompress.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.6 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzcompress"> <refnamediv> <refname>bzcompress</refname> <refpurpose>Comprime una cadena a una forma de datos codificados bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzcompress</methodname> <methodparam><type>cadena</type><parameter>source</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>blocksize</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>workfactor</parameter></methodparam> </methodsynopsis> <para> <function>bzcompress</function> comprime la cadena representadada por el parámetro <parameter>source</parameter> y la regresa en forma de datos codificados bzip2. </para> <para> El parámetro opciona <parameter>blocksize</parameter> específica el tamaño del bloque a ser usado durante la compresión y debe ser un número entre 1 y 9, con 9 se da la mejor compresión, pero usa más recursos para hacerlo. el parámetro tiene valor 4 por defecto. </para> <para> El parámetro opcional <parameter>workfactor</parameter> controla como se debe actuar en la fase de compresión cuando se encuentre con el peor caso, altamente repetitiva entrada de datos. El valor puede estar entre 0 y 250, 0 es un caso especial y 30 es el valor por defecto. Sin importar el valor del <parameter>workfactor</parameter>, la salida generada será la misma. </para> </refsect1> <refsect1> <para> See also <function>bzdecompress</function>. </para> </refsect1> <refsect1> <title>Ejemplo</title> <example> <title>Comprimiendo datos</title> <programlisting role="php"> <![CDATA[ <?php $str = "sample data"; $bzstr = bzcompress($str, 9); echo $bzstr; ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzdecompress.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzdecompress.xml +++ phpdoc-es/reference/bzip2/functions/bzdecompress.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzdecompress"> <refnamediv> <refname>bzdecompress</refname> <refpurpose>Descomprime datos encodificados bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzdecompress</methodname> <methodparam><type>cadena</type><parameter>source</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>small</parameter></methodparam> </methodsynopsis> <para> <function>bzdecompress</function> toma la cadena con datos codificados bzip2, representada por el parámetro <parameter>source</parameter>, y la regresa descodificada. Si el parámetro opcional <parameter>small</parameter> es &true;, un algoritmo de descompresión alternativo será usado, el cual usa menos memoria (el máximo de memoria usada es al readedor de 2300K) pero trabaja dificilmente a la mitad de la velocidad. Vea la <ulink url="&url.bzip2;">documentacion de bzip</ulink> para más información acerca de esta caracterísitoca. </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzcompress</function>. </para> </refsect1> <refsect1> <title>Ejemplo</title> <example> <title>Descomprimir una cadena</title> <programlisting role="php"> <![CDATA[ <?php $start_str = "This is not an honest face?"; $bzstr = bzcompress($start_str); echo "Compressed String: "; echo $bzstr; echo "\n<br />\n"; $str = bzdecompress($bzstr); echo "Decompressed String: "; echo $str; echo "\n<br />\n"; ?> ]]> </programlisting> </example> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzerrno.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzerrno.xml +++ phpdoc-es/reference/bzip2/functions/bzerrno.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzerrno"> <refnamediv> <refname>bzerrno</refname> <refpurpose>Regresa el número de error bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzerrno</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Regresa el número de error regresado por el archivo apuntado por <parameter>bz</parameter>. </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzerror</function>, <function>bzerrstr</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzerror.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzerror.xml +++ phpdoc-es/reference/bzip2/functions/bzerror.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzerror"> <refnamediv> <refname>bzerror</refname> <refpurpose>Regresa el número de error y la cadena de error bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>matriz</type><methodname>bzerror</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Regresa el número de error y la cadena de error, en una matriz asociativa, obtenido por el archivo apuntado. <parameter>bz</parameter>. </para> <para> <example> <title><function>bzerror</function> ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $error = bzerror($bz); echo $error["errno"]; echo $error["errstr"]; ?> ]]> </programlisting> </example> </para> <para> See also <function>bzerrno</function> and <function>bzerrstr</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzerrstr.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzerrstr.xml +++ phpdoc-es/reference/bzip2/functions/bzerrstr.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzerrstr"> <refnamediv> <refname>bzerrstr</refname> <refpurpose>Regresa la cadena de error bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzerrstr</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Regresa la cadena de error de cualquier error regresado por el archivo apuntado por <parameter>bz</parameter>. </para> <para> Vea también <function>bzerrno</function>, <function>bzerror</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzflush.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzflush.xml +++ phpdoc-es/reference/bzip2/functions/bzflush.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.3 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzflush"> <refnamediv> <refname>bzflush</refname> <refpurpose>Forza la escritura de todos los datos en el almacenamiento intermedio</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzflush</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> </methodsynopsis> <para> Fuerza la escritura de todos los datos en almacenamiento intermedio para el apuntador <parameter>bz</parameter>. </para> </refsect1> <refsect1> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> <refsect1> &reftitle.seealso; <para> <function>bzread</function>, <function>bzwrite</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzopen.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzopen.xml +++ phpdoc-es/reference/bzip2/functions/bzopen.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.7 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzopen"> <refnamediv> <refname>bzopen</refname> <refpurpose>Abre un archivo comprimido bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>resource</type><methodname>bzopen</methodname> <methodparam><type>cadena</type><parameter>filename</parameter></methodparam> <methodparam><type>cadena</type><parameter>mode</parameter></methodparam> </methodsynopsis> <para> <function>bzopen</function> abre un archivo bzip2 (.bz2) para lectura o escritura. <parameter>filename</parameter> es el nombre del archivo a abrir. <parameter>mode</parameter> es similar a la función <function>fopen</function> (`r' para lectura, `w' para escritura, etc.). </para> <para> Si falla la apertura del archivo, <function>bzopen</function> regresa &false;, en otro casi regresa un apuntador hacia el archivo recientemente abierto. </para> <para> <example> <title>Ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $file = "/tmp/foo.bz2"; $bz = bzopen($file, "r") or die("Couldn't open $file for reading"); bzclose($bz); ?> ]]> </programlisting> </example> </para> <para> vea también <function>bzclose</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzread.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzread.xml +++ phpdoc-es/reference/bzip2/functions/bzread.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.8 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzread"> <refnamediv> <refname>bzread</refname> <refpurpose>Lectura segura de archivos binarios bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>cadena</type><methodname>bzread</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <para> <function>bzread</function> lee hasta <parameter>length</parameter> en bytes del archivo bzip2 dado por el apuntador <parameter>bz</parameter>. La lectura se detiene cuando los bytes de datos sin comprimir alcanzan el tamaño de <parameter>length</parameter> o se encontr&oaucte; EOF, lo que ocurra primero. Si no se específica el parámetro opcional <parameter>length</parameter>, <function>bzread</function> leerá 1024 bytes de datos ya descomprimidos cada vez. </para> <para> <example> <title><function>bzread</function> ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $file = "/tmp/foo.bz2"; $bz = bzopen($file, "r") or die("Couldn't open $file"); $decompressed_file = ''; while (!feof($bz)) { $decompressed_file .= bzread($bz, 4096); } bzclose($bz); echo "The contents of $file are: <br />\n"; echo $decompressed_file; ?> ]]> </programlisting> </example> </para> <para> Vea también <function>bzwrite</function>, <function>feof</function>, <function>bzopen</function>. </para> </refsect1> </refentry> <!-- 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 --> http://cvs.php.net/co.php/phpdoc-es/reference/bzip2/functions/bzwrite.xml?r=1.1&p=1 Index: phpdoc-es/reference/bzip2/functions/bzwrite.xml +++ phpdoc-es/reference/bzip2/functions/bzwrite.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: baoengb Status: ready --> <!-- splitted from ./en/functions/bzip2.xml, last change in rev 1.1 --> <refentry id="function.bzwrite"> <refnamediv> <refname>bzwrite</refname> <refpurpose>Escribe en forma segura a un archivo binario bzip2</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>int</type><methodname>bzwrite</methodname> <methodparam><type>resource</type><parameter>bz</parameter></methodparam> <methodparam><type>cadena</type><parameter>data</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> </methodsynopsis> <para> <function>bzwrite</function> escribe el contenido de la cadena <parameter>data</parameter> al archivo bzip2 apuntado por el parámetro <parameter>bz</parameter>. Si se da el parámetro opcional <parameter>length</parameter>, la escritura se detendrá después de la longitud (en forma no comprimida) se haya alcanzado o que se haya encontrado el fin de la cadena, lo que ocurra primero. </para> <para> <example> <title><function>bzwrite</function> ejemplo</title> <programlisting role="php"> <![CDATA[ <?php $str = "uncompressed data"; $bz = bzopen("/tmp/foo.bz2", "w"); bzwrite($bz, $str, strlen($str)); bzclose($bz); ?> ]]> </programlisting> </example> </para> <para> Vea también <function>bzread</function>, <function>bzopen</function>. </para> </refsect1> </refentry> <!-- 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 -->