cvs: phpdoc-es / translation.xml /reference/gettext configure.xml /reference/gettext/functions bind-textdomain-codeset.xml dcngettext.xml
dngettext.xml ngettext.xml /reference/http/functions headers-sent.xml
| From: | Leonardo Boshell | Date: | Tue, 18 Nov 2003 22:05:30 +0000 |
| Subject: | cvs: phpdoc-es / translation.xml /reference/gettext configure.xml /reference/gettext/functions bind-textdomain-codeset.xml dcngettext.xml dngettext.xml ngettext.xml /reference/http/functions headers-sent.xml |
||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-421@lists.php.net to get a copy of this message | ||
lboshell Tue Nov 18 17:05:30 2003 EDT
Added files:
/phpdoc-es/reference/gettext configure.xml
/phpdoc-es/reference/gettext/functions bind-textdomain-codeset.xml
dcngettext.xml dngettext.xml
ngettext.xml
/phpdoc-es/reference/http/functions headers-sent.xml
Modified files:
/phpdoc-es translation.xml
Log:
Nuevos archivos de reference/gettext y reference/http.
Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.87 phpdoc-es/translation.xml:1.88 --- phpdoc-es/translation.xml:1.87 Fri Nov 14 17:11:44 2003 +++ phpdoc-es/translation.xml Tue Nov 18 17:05:25 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.87 $ --> +<!-- $Revision: 1.88 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -38,11 +38,22 @@ <file name="reference/java/ini.xml" person="javi" type="translation" date="14.11.2003"/> <file name="reference/java/functions/java-last-exception-clear.xml" person="javi" type="translation" date="14.11.2003"/> <file name="reference/java/functions/java-last-exception-get.xml" person="javi" type="translation" date="14.11.2003"/> -<file name="reference/gettext/configure.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/bind-textdomain-codeset.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/dcngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/dngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/ngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/http/functions/headers-sent.xml" person="lboshell" type="translation" date="14.11.2003"/> +<file name="reference/math/constants.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/acosh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/asinh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/atanh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/cosh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/deg2rad.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/expm1.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/fmod.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/hypot.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-finite.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-infinite.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-nan.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/lcg-value.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/log1p.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/rad2deg.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/sinh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/tanh.xml" person="lboshell" type="translation" date="18.11.2003"/> </work-in-progress> </translation> Index: phpdoc-es/reference/gettext/configure.xml +++ phpdoc-es/reference/gettext/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <section id="gettext.installation"> &reftitle.install; <para> Para incluir soporte para GNU gettext en su instalación de PHP, debe agregar la opción <option role="configure">--with-gettext[=DIR]</option> donde DIR es el directorio de instalación de gettext, por defecto <filename>/usr/local</filename>. </para> <note> <title>Nota para Usuarios de Win32</title> <simpara> Para habilitar este módulo en un entorno Windows, debe copiar <emphasis>gnu_gettext.dll</emphasis> desde el directorio DLL del paquete binario de PHP/Win32 a la carpeta SYSTEM32 de su máquina windows. (Ej: C:\WINNT\SYSTEM32 o C:\WINDOWS\SYSTEM32). A partir de PHP 4.2.3 el nombre cambió a <emphasis>libintl-1.dll</emphasis>, esto requiere que <filename>iconv.dll</filename> también sea copiado. </simpara> </note> </section> <!-- 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 --> Index: phpdoc-es/reference/gettext/functions/bind-textdomain-codeset.xml +++ phpdoc-es/reference/gettext/functions/bind-textdomain-codeset.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.17 --> <refentry id='function.bind-textdomain-codeset'> <refnamediv> <refname>bind_textdomain_codeset</refname> <refpurpose> Especificar la codificación de caracteres con la que serán devueltos los mensajes del catálogo DOMINIO </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>bind_textdomain_codeset</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>juedo_caracteres</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/gettext/functions/dcngettext.xml +++ phpdoc-es/reference/gettext/functions/dcngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id='function.dcngettext'> <refnamediv> <refname>dcngettext</refname> <refpurpose>Versión plural de dcgettext</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>dcngettext</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> <methodparam><type>int</type><parameter>categoria</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/gettext/functions/dngettext.xml +++ phpdoc-es/reference/gettext/functions/dngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id='function.dngettext'> <refnamediv> <refname>dngettext</refname> <refpurpose>Versión plural de dgettext</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>dngettext</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/gettext/functions/ngettext.xml +++ phpdoc-es/reference/gettext/functions/ngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id="function.ngettext"> <refnamediv> <refname>ngettext</refname> <refpurpose>Versión plural de gettext</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>ngettext</methodname> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/http/functions/headers-sent.xml +++ phpdoc-es/reference/http/functions/headers-sent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.13 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.7 --> <refentry id="function.headers-sent"> <refnamediv> <refname>headers_sent</refname> <refpurpose>Chequea si se han enviado cabeceras, y dónde</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>bool</type><methodname>headers_sent</methodname> <methodparam choice="opt"><type>string</type><parameter>&archivo</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>&linea</parameter></methodparam> </methodsynopsis> <simpara> <function>headers_sent</function> devolverá &false; si no se han enviado cabeceras HTTP, o &true; de lo contrario. Si los parámetros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> son definidos, <function>headers_sent</function> colocará el nombre de archivo y número de línea de las fuentes php en donde inició la salida en las variables <parameter>archivo</parameter> y <parameter>linea</parameter>. </simpara> <simpara> No puede agregar más líneas de cabeceras usando la función <function>header</function> una vez el bloque de cabeceras ha sido enviado. Usando esta función al menos puede prevenir la recepción de mensajes de error relacionados con cabeceras HTTP. Otra opción es usar <link linkend="ref.outcontrol">Búferes de Salida</link>. </simpara> <note> <simpara> Los parámetros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> fueron añadidos en PHP 4.3.0. </simpara> </note> <para> <example> <title>Ejemplos de uso de <function>headers_sent</function></title> <programlisting role="php"> <![CDATA[ <?php // Si no se han enviado cabeceras, enviar una if (!headers_sent()) { header ('Location: http://www.example.com/'); exit; } // Un ejemplo del uso de las parametros opcionales archivo y linea, a partir de PHP 4.3.0. // Note que $nombre_archivo y $num_linea son pasados para su uso posterior. // No les asigne valores con anterioridad. if (!headers_sent($nombre_archivo, $num_linea)) { header ('Location: http://www.example.com/'); exit; // Probablemente quiera producir un error aqui. } else { print "Las cabeceras ya fueron enviadas en $nombre_archivo en la linea " . "$num_linea\nNo es posible redireccionar, por ahora por favor " . "pulse este <a href=\"http://www.example.com\">enlace</a> en su " . "lugar\n"; exit; } ?> ]]> </programlisting> </example> </para> <para> Vea también <function>ob_start</function>, <function>trigger_error</function>, y <function>header</function> para una discusión más detallada de los temas involucrados. </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 -->
Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.87 phpdoc-es/translation.xml:1.88 --- phpdoc-es/translation.xml:1.87 Fri Nov 14 17:11:44 2003 +++ phpdoc-es/translation.xml Tue Nov 18 17:05:25 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.87 $ --> +<!-- $Revision: 1.88 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -38,11 +38,22 @@ <file name="reference/java/ini.xml" person="javi" type="translation" date="14.11.2003"/> <file name="reference/java/functions/java-last-exception-clear.xml" person="javi" type="translation" date="14.11.2003"/> <file name="reference/java/functions/java-last-exception-get.xml" person="javi" type="translation" date="14.11.2003"/> -<file name="reference/gettext/configure.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/bind-textdomain-codeset.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/dcngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/dngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/gettext/functions/ngettext.xml" person="lboshell" type="translation" date="14.11.2003"/> -<file name="reference/http/functions/headers-sent.xml" person="lboshell" type="translation" date="14.11.2003"/> +<file name="reference/math/constants.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/acosh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/asinh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/atanh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/cosh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/deg2rad.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/expm1.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/fmod.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/hypot.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-finite.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-infinite.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/is-nan.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/lcg-value.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/log1p.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/rad2deg.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/sinh.xml" person="lboshell" type="translation" date="18.11.2003"/> +<file name="reference/math/functions/tanh.xml" person="lboshell" type="translation" date="18.11.2003"/> </work-in-progress> </translation> Index: phpdoc-es/reference/gettext/configure.xml +++ phpdoc-es/reference/gettext/configure.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <section id="gettext.installation"> &reftitle.install; <para> Para incluir soporte para GNU gettext en su instalación de PHP, debe agregar la opción <option role="configure">--with-gettext[=DIR]</option> donde DIR es el directorio de instalación de gettext, por defecto <filename>/usr/local</filename>. </para> <note> <title>Nota para Usuarios de Win32</title> <simpara> Para habilitar este módulo en un entorno Windows, debe copiar <emphasis>gnu_gettext.dll</emphasis> desde el directorio DLL del paquete binario de PHP/Win32 a la carpeta SYSTEM32 de su máquina windows. (Ej: C:\WINNT\SYSTEM32 o C:\WINDOWS\SYSTEM32). A partir de PHP 4.2.3 el nombre cambió a <emphasis>libintl-1.dll</emphasis>, esto requiere que <filename>iconv.dll</filename> también sea copiado. </simpara> </note> </section> <!-- 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 --> Index: phpdoc-es/reference/gettext/functions/bind-textdomain-codeset.xml +++ phpdoc-es/reference/gettext/functions/bind-textdomain-codeset.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.17 --> <refentry id='function.bind-textdomain-codeset'> <refnamediv> <refname>bind_textdomain_codeset</refname> <refpurpose> Especificar la codificación de caracteres con la que serán devueltos los mensajes del catálogo DOMINIO </refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>bind_textdomain_codeset</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>juedo_caracteres</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/gettext/functions/dcngettext.xml +++ phpdoc-es/reference/gettext/functions/dcngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id='function.dcngettext'> <refnamediv> <refname>dcngettext</refname> <refpurpose>Versión plural de dcgettext</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>dcngettext</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> <methodparam><type>int</type><parameter>categoria</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/gettext/functions/dngettext.xml +++ phpdoc-es/reference/gettext/functions/dngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id='function.dngettext'> <refnamediv> <refname>dngettext</refname> <refpurpose>Versión plural de dgettext</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>dngettext</methodname> <methodparam><type>string</type><parameter>dominio</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/gettext/functions/ngettext.xml +++ phpdoc-es/reference/gettext/functions/ngettext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/gettext.xml, last change in rev 1.16 --> <refentry id="function.ngettext"> <refnamediv> <refname>ngettext</refname> <refpurpose>Versión plural de gettext</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>string</type><methodname>ngettext</methodname> <methodparam><type>string</type><parameter>id_mensaje1</parameter></methodparam> <methodparam><type>string</type><parameter>id_mensaje2</parameter></methodparam> <methodparam><type>int</type><parameter>n</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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 --> Index: phpdoc-es/reference/http/functions/headers-sent.xml +++ phpdoc-es/reference/http/functions/headers-sent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.13 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.7 --> <refentry id="function.headers-sent"> <refnamediv> <refname>headers_sent</refname> <refpurpose>Chequea si se han enviado cabeceras, y dónde</refpurpose> </refnamediv> <refsect1> <title>Descripción</title> <methodsynopsis> <type>bool</type><methodname>headers_sent</methodname> <methodparam choice="opt"><type>string</type><parameter>&archivo</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>&linea</parameter></methodparam> </methodsynopsis> <simpara> <function>headers_sent</function> devolverá &false; si no se han enviado cabeceras HTTP, o &true; de lo contrario. Si los parámetros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> son definidos, <function>headers_sent</function> colocará el nombre de archivo y número de línea de las fuentes php en donde inició la salida en las variables <parameter>archivo</parameter> y <parameter>linea</parameter>. </simpara> <simpara> No puede agregar más líneas de cabeceras usando la función <function>header</function> una vez el bloque de cabeceras ha sido enviado. Usando esta función al menos puede prevenir la recepción de mensajes de error relacionados con cabeceras HTTP. Otra opción es usar <link linkend="ref.outcontrol">Búferes de Salida</link>. </simpara> <note> <simpara> Los parámetros opcionales <parameter>archivo</parameter> y <parameter>linea</parameter> fueron añadidos en PHP 4.3.0. </simpara> </note> <para> <example> <title>Ejemplos de uso de <function>headers_sent</function></title> <programlisting role="php"> <![CDATA[ <?php // Si no se han enviado cabeceras, enviar una if (!headers_sent()) { header ('Location: http://www.example.com/'); exit; } // Un ejemplo del uso de las parametros opcionales archivo y linea, a partir de PHP 4.3.0. // Note que $nombre_archivo y $num_linea son pasados para su uso posterior. // No les asigne valores con anterioridad. if (!headers_sent($nombre_archivo, $num_linea)) { header ('Location: http://www.example.com/'); exit; // Probablemente quiera producir un error aqui. } else { print "Las cabeceras ya fueron enviadas en $nombre_archivo en la linea " . "$num_linea\nNo es posible redireccionar, por ahora por favor " . "pulse este <a href=\"http://www.example.com\">enlace</a> en su " . "lugar\n"; exit; } ?> ]]> </programlisting> </example> </para> <para> Vea también <function>ob_start</function>, <function>trigger_error</function>, y <function>header</function> para una discusión más detallada de los temas involucrados. </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 -->