mirror of
https://github.com/php/doc-es.git
synced 2026-03-26 00:12:06 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/es/trunk@331400 c90b9560-bf6c-de11-be94-00142212c4b1
90 lines
2.5 KiB
XML
90 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<!-- EN-Revision: 4757bd1743a1a8347fb4761b98bd551fe99d7b99 Maintainer: seros Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<refentry xml:id="function.mb-language" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>mb_language</refname>
|
|
<refpurpose>Establece/obtiene el idioma actual</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>mixed</type><methodname>mb_language</methodname>
|
|
<methodparam choice="opt"><type>string</type><parameter>language</parameter><initializer>mb_language()</initializer></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Establece/obtiene el idioma actual.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>language</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Se usa para codificar
|
|
mensajes de correo electrónico. Los idiomas válidos son "Japanese",
|
|
"ja","English","en" y "uni"
|
|
(UTF-8). <function>mb_send_mail</function> utiliza este ajuste para
|
|
codificar correos electrónicos.
|
|
</para>
|
|
<para>
|
|
El idiomma y su configuración está en ISO-2022-JP/Base64 para
|
|
Japanese, UTF-8/Base64 para uni, ISO-8859-1/quoted printable para
|
|
English.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Si se establece <parameter>language</parameter> y
|
|
<parameter>language</parameter> es válido, devuelve
|
|
&true;. De lo contrario devuelve &false;.
|
|
Cuando se omite <parameter>language</parameter>, devuelve el nombre del
|
|
idioma como <type>string</type>. Si no se había establecido ningún idioma anteriormente,
|
|
entonces devuelve &false;.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>mb_send_mail</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
|
|
-->
|