svn: /phpdoc/es/trunk/reference/zlib/functions/ gzgets.xml gzgetss.xml

From: Date: Tue, 23 Feb 2010 01:16:00 +0000
Subject: svn: /phpdoc/es/trunk/reference/zlib/functions/ gzgets.xml gzgetss.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-2108@lists.php.net to get a copy of this message
jpberdejo Tue, 23 Feb 2010 01:16:00 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=295392 Log: Nuevos archivos traducidos Changed paths: U phpdoc/es/trunk/reference/zlib/functions/gzgets.xml A phpdoc/es/trunk/reference/zlib/functions/gzgetss.xml Modified: phpdoc/es/trunk/reference/zlib/functions/gzgets.xml =================================================================== --- phpdoc/es/trunk/reference/zlib/functions/gzgets.xml 2010-02-22 23:55:30 UTC (rev 295391) +++ phpdoc/es/trunk/reference/zlib/functions/gzgets.xml 2010-02-23 01:16:00 UTC (rev 295392) @@ -28,7 +28,7 @@ <listitem> <para> El puntero del archivo gz. Debe ser válido y debe apuntar a un - archivo abierto exitosamente por <function>gzopen</function>.. + archivo abierto exitosamente por <function>gzopen</function>. </para> </listitem> </varlistentry> Added: phpdoc/es/trunk/reference/zlib/functions/gzgetss.xml =================================================================== --- phpdoc/es/trunk/reference/zlib/functions/gzgetss.xml (rev 0) +++ phpdoc/es/trunk/reference/zlib/functions/gzgetss.xml 2010-02-23 01:16:00 UTC (rev 295392) @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 288721 $ --> +<!-- EN-Revision: 288721 Maintainer: jpberdejo Status: ready --> +<refentry xml:id="function.gzgetss" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>gzgetss</refname> + <refpurpose> + Obtiene la linea del apuntador del archivo gz y retira las etiquetas HTML + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>gzgetss</methodname> + <methodparam><type>resource</type><parameter>zp</parameter></methodparam> + <methodparam><type>int</type><parameter>length</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam> + </methodsynopsis> + <para> + Función identica a <function>gzgets</function>, excepto que + <function>gzgetss</function> intenta retirar cualquier + etiqueta HTML y PHP del texto que esta leyendo. + </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> + <varlistentry> + <term><parameter>length</parameter></term> + <listitem> + <para> + La longitud de los datos a obtener. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>allowable_tags</parameter></term> + <listitem> + <para> + Se puede usar éste parámetro opcional para especificar cuales etiquetas + no se deben retirar. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + La cadena descomprimida y sin etiquetas o &false; en un error. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>gzgetss</function> ejemplo</title> + <programlisting role="php"> +<![CDATA[ +<?php +$asa = gzopen('algunarchivo.gz', 'r'); +while (!gzeof($asa)) { + $buffer = gzgetss($asa, 4096); + echo $buffer; +} +gzclose($asa); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>gzopen</function></member> + <member><function>gzgets</function></member> + <member><function>strip_tags</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 (#2108) next »