svn: /phpdoc/es/trunk/reference/zlib/functions/ gzeof.xml gzgetc.xml

From: Date: Tue, 09 Feb 2010 02:41:56 +0000
Subject: svn: /phpdoc/es/trunk/reference/zlib/functions/ gzeof.xml gzgetc.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-1994@lists.php.net to get a copy of this message
jpberdejo Tue, 09 Feb 2010 02:41:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=294784 Log: Nuevos archivos traducidos Changed paths: U phpdoc/es/trunk/reference/zlib/functions/gzeof.xml A phpdoc/es/trunk/reference/zlib/functions/gzgetc.xml Modified: phpdoc/es/trunk/reference/zlib/functions/gzeof.xml =================================================================== --- phpdoc/es/trunk/reference/zlib/functions/gzeof.xml 2010-02-09 02:27:54 UTC (rev 294783) +++ phpdoc/es/trunk/reference/zlib/functions/gzeof.xml 2010-02-09 02:41:56 UTC (rev 294784) @@ -35,19 +35,19 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns &true; if the gz-file pointer is at <acronym>EOF</acronym> or an error occurs; - otherwise returns &false;. + Retorna &true; si el puntero del archivo gz está en el <acronym>EOF</acronym> o un error ocurre; + de lo contrario retorna &false;. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> - <title><function>gzeof</function> example</title> + <title><function>gzeof</function> ejemplo</title> <programlisting role="php"> <![CDATA[ <?php -$gz = gzopen('somefile.gz', 'r'); +$gz = gzopen('algunarchivo.gz', 'r'); while (!gzeof($gz)) { echo gzgetc($gz); } Added: phpdoc/es/trunk/reference/zlib/functions/gzgetc.xml =================================================================== --- phpdoc/es/trunk/reference/zlib/functions/gzgetc.xml (rev 0) +++ phpdoc/es/trunk/reference/zlib/functions/gzgetc.xml 2010-02-09 02:41:56 UTC (rev 294784) @@ -0,0 +1,91 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 288721 $ --> +<!-- EN-Revision: 288721 Maintainer: jpberdejo Status: ready --> +<refentry xml:id="function.gzgetc" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>gzgetc</refname> + <refpurpose>Obtiene el carácter del puntero del archivo gz</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>gzgetc</methodname> + <methodparam><type>resource</type><parameter>zp</parameter></methodparam> + </methodsynopsis> + <para> + Retorna una cadena que contiene un solo carácter (sin comprimir) + leído del puntero del archivo gz dado. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>zp</parameter></term> + <listitem> + <para> + El puntero del archivo gz. Debe ser válido y debe apuntar a un + archivo abierto exitosamente por <function>gzopen</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + El carácter sin comprimir o &false; en el <acronym>EOF</acronym> (a diferencia de <function>gzeof</function>). + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>gzgetc</function> ejemplo</title> + <programlisting role="php"> +<![CDATA[ +<?php +$gz = gzopen('algunarchivo.gz', 'r'); +while (!gzeof($gz)) { + echo gzgetc($gz); +} +gzclose($gz); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>gzopen</function></member> + <member><function>gzgets</function></member> + </simplelist> + </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:"~/.phpdoc/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 +-->

« previous php.doc.es (#1994) next »