cvs: phpdoc-es /reference/imap/functions imap-fetchstructure.xml

From: Date: Sun, 25 Nov 2007 17:43:50 +0000
Subject: cvs: phpdoc-es /reference/imap/functions imap-fetchstructure.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-1358@lists.php.net to get a copy of this message
msaraujo Sun Nov 25 17:43:50 2007 UTC Modified files: /phpdoc-es/reference/imap/functions imap-fetchstructure.xml Log: - a proper spanish translation

http://cvs.php.net/viewvc.cgi/phpdoc-es/reference/imap/functions/imap-fetchstructure.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-es/reference/imap/functions/imap-fetchstructure.xml diff -u phpdoc-es/reference/imap/functions/imap-fetchstructure.xml:1.2 phpdoc-es/reference/imap/functions/imap-fetchstructure.xml:1.3 --- phpdoc-es/reference/imap/functions/imap-fetchstructure.xml:1.2 Sat Jun 23 13:25:37 2007 +++ phpdoc-es/reference/imap/functions/imap-fetchstructure.xml Sun Nov 25 17:43:50 2007 @@ -1,166 +1,181 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./es/functions/imap.xml, last change in rev 1.1 --> -<!-- last change to 'imap-fetchstructure' in en/ tree in rev 1.2 --> - <refentry xml:id="function.imap-fetchstructure" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>imap_fetchstructure</refname> - <refpurpose> - Lee la estructuta de un mensaje concreto - </refpurpose> - </refnamediv> - <refsect1> - <title>Descripci&oacute;n</title> - <methodsynopsis> - <type>object</type><methodname>imap_fetchstructure</methodname> - <methodparam><type>int</type><parameter>imap_stream</parameter></methodparam> - <methodparam><type>int</type><parameter>msg_number</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> - </methodsynopsis> - <para> - Esta funci&oacute;n busca toda la informaci&oacute;n estructurada en el mensaje - especificado. El par&aacute;metro opcional <parameter>flags</parameter> s&oacute;lo - tiene una opcion, <parameter>FT_UID</parameter>, la cual indica a la funci&oacute;n - que trate el argumento <parameter>msg_number</parameter> como un <parameter>UID</parameter>. - El objeto devuelto incluye el sobre, la fecha interna, el tama¤o, flags y la - estructura del cuerpo con un objeto similar por cada mime adjunto al mensaje. - La estructura de los objetos devueltos es como sigue: - </para> - <para> - <table> - <title> - Objetos Devueltos para <function>imap_fetchstructure</function> - </title> - <tgroup cols="2"> - <tbody> - <row> - <entry>type</entry> - <entry>Tipo primario del cuerpo</entry> - </row> - <row> - <entry>encoding</entry> - <entry>Body transfer encoding</entry> - </row> - <row> - <entry>ifsubtype</entry> - <entry>&true; si hay una cadena de subtipo</entry> - </row> - <row> - <entry>subtype</entry> - <entry><acronym>MIME</acronym> subtype</entry> - </row> - <row> - <entry>ifDescripci&oacute;n</entry> - <entry>&true; si hay una cadena de Descripci&oacute;n</entry> - </row> - <row> - <entry>Description</entry> - <entry>Conenido de la cadena de Descripci&oacute;n</entry> - </row> - <row> - <entry>ifid</entry> - <entry>&true; si hay una cadena de identificaci&oacute;n</entry> - </row> - <row> - <entry>id</entry> - <entry>Cadena de Identificaci&oacute;n</entry> - </row> - <row> - <entry>lines</entry> - <entry>N&uacute;mero de lineas</entry> - </row> - <row> - <entry>bytes</entry> - <entry>N&uacute;mero de bytes</entry> - </row> - <row> - <entry>ifdisposition</entry> - <entry>&true; si hay una cadena de configuraci&oacute;n</entry> - </row> - <row> - <entry>disposition</entry> - <entry>Cadena de configuraci&oacute;n</entry> - </row> - <row> - <entry>ifdparameters</entry> - <entry>&true; si el array dparameters existe</entry> - </row> - <row> - <entry>dparameters - <footnote> - <para> - dparameters es un array de objetos donde cada objeto tiene - un "atributo" y una propiedad "valor". - </para> - </footnote> - </entry> - <entry>Array de parametro de configuraci&oacute;n</entry> - </row> - <row> - <entry>ifparameters</entry> - <entry>&true; si el array de par&aacute;metros existe</entry> - </row> - <row> - <entry>parameters - <footnote> - <para> - parameter es un array de objetos donde cada objetor tiene un - "atributo" y una propiedad "valor". - </para> - </footnote> - </entry> - <entry><acronym>MIME</acronym> parameters array</entry> - </row> - <row> - <entry>parts - <footnote> - <para> - parts es un array de objetos identico en estructura al objeto del - primer nivel, con la limitaci&oacute;n de que este no puede contener m&aacute;s - objetos 'parts'. - </para> - </footnote> - </entry> - <entry>Array de objetos describiendo cada parte del mensaje</entry> - </row> - </tbody> - </tgroup> - </table> - </para> - - <para> - <table> - <title>Tipo primario del cuerpo</title> - <tgroup cols="2"> - <tbody> - <row><entry>0</entry><entry>texto</entry></row> - <row><entry>1</entry><entry>multiparte</entry></row> - <row><entry>2</entry><entry>mensaje</entry></row> - <row><entry>3</entry><entry>aplicaci&oacute;n</entry></row> - <row><entry>4</entry><entry>audio</entry></row> - <row><entry>5</entry><entry>imagen</entry></row> - <row><entry>6</entry><entry>video</entry></row> - <row><entry>7</entry><entry>otro</entry></row> - </tbody> - </tgroup> - </table> - </para> - <para> - <table> - <title>Codificacion para tranferencia</title> - <tgroup cols="2"> - <tbody> - <row><entry>0</entry><entry>7BIT</entry></row> - <row><entry>1</entry><entry>8BIT</entry></row> - <row><entry>2</entry><entry>BINARY</entry></row> - <row><entry>3</entry><entry>BASE64</entry></row> - <row><entry>4</entry><entry>QUOTED-PRINTABLE</entry></row> - <row><entry>5</entry><entry>OTRO</entry></row> - </tbody> - </tgroup> - </table> - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<refentry xml:id="function.imap-fetchstructure" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>imap_fetchstructure</refname> + <refpurpose>Leer la estructura de una mensaje particular</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>object</type><methodname>imap_fetchstructure</methodname> + <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> + <methodparam><type>int</type><parameter>msg_number</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> + </methodsynopsis> + <para> + Associa toda la informacion de la estructura para una dada mensaje. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + &imap.imap-stream.description; + <varlistentry> + <term><parameter>msg_number</parameter></term> + <listitem> + <para> + El número de la mensaje + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>opciones</parameter></term> + <listitem> + <para> + Este parametro opcional tiene una unica opcion, + <constant>FT_UID</constant>, que informa la funcion para tratar + <parameter>msg_number</parameter> el argumento como un + <literal>UID</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retorna un objecto que inclui el envelope, la data interna, tamano, flags y la estructura del cuerpo bien como con un objecto + similar para cada anexo mime. La estructura del objecto retornado és la siguiente: + </para> + <para> + <table> + <title> + Objectos retornados para <function>imap_fetchstructure</function> + </title> + <tgroup cols="2"> + <tbody> + <row> + <entry>type</entry> + <entry>Tipo de corpo primário</entry> + </row> + <row> + <entry>encoding</entry> + <entry>Codificación de la Transferencia de Cuerpo</entry> + </row> + <row> + <entry>ifsubtype</entry> + <entry>&true; se existe un subtipo de string</entry> + </row> + <row> + <entry>subtype</entry> + <entry><acronym>MIME</acronym> subtipo</entry> + </row> + <row> + <entry>ifdescription</entry> + <entry>&true; se existe una string para la descrición</entry> + </row> + <row> + <entry>description</entry> + <entry>String de la descrición para el contenido</entry> + </row> + <row> + <entry>ifid</entry> + <entry>&true; se existe una string para la identificación</entry> + </row> + <row> + <entry>id</entry> + <entry>string de identificación</entry> + </row> + <row> + <entry>lines</entry> + <entry>Numero de lineas</entry> + </row> + <row> + <entry>bytes</entry> + <entry>Numbero de bytes</entry> + </row> + <row> + <entry>ifdisposition</entry> + <entry>&true; se existe una string de disposición</entry> + </row> + <row> + <entry>disposition</entry> + <entry>string de disposición</entry> + </row> + <row> + <entry>ifdparameters</entry> + <entry>&true; se existe el array dparameters</entry> + </row> + <row> + <entry>dparameters</entry> + <entry>Un array de objectos. Cada objecto tiene un atributo y una propriedade llamada de valor, que correspondan + aos parametros de la disposición de Contenido <acronym>MIME</acronym>header.</entry> + </row> + <row> + <entry>ifparameters</entry> + <entry>&true; se el array parameters existe</entry> + </row> + <row> + <entry>parameters</entry> + <entry>Un array de objectos. Cada objecto tiene un atributo y + una propriedade de valor.</entry> + </row> + <row> + <entry>parts</entry> + <entry>Un array de objectos que tienen una estructura identica ao objecto top-level, + cada uno correspondiendo a una <acronym>MIME</acronym> body + part.</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + <para> + <table> + <title>Tipo de Body primário</title> + <tgroup cols="2"> + <tbody> + <row><entry>0</entry><entry>text</entry></row> + <row><entry>1</entry><entry>multipart</entry></row> + <row><entry>2</entry><entry>message</entry></row> + <row><entry>3</entry><entry>application</entry></row> + <row><entry>4</entry><entry>audio</entry></row> + <row><entry>5</entry><entry>image</entry></row> + <row><entry>6</entry><entry>video</entry></row> + <row><entry>7</entry><entry>other</entry></row> + </tbody> + </tgroup> + </table> + </para> + <para> + <table> + <title>Codificaciones de Transferencia</title> + <tgroup cols="2"> + <tbody> + <row><entry>0</entry><entry>7BIT</entry></row> + <row><entry>1</entry><entry>8BIT</entry></row> + <row><entry>2</entry><entry>BINARY</entry></row> + <row><entry>3</entry><entry>BASE64</entry></row> + <row><entry>4</entry><entry>QUOTED-PRINTABLE</entry></row> + <row><entry>5</entry><entry>OTHER</entry></row> + </tbody> + </tgroup> + </table> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>imap_fetchbody</function></member> + <member><function>imap_bodystruct</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.es (#1358) next »