svn: /phpdoc/es/trunk/reference/soap/soapclient/ setcookie.xml setlocation.xml
| From: | Yago Ferrer | Date: | Mon, 01 Mar 2010 05:12:03 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/soap/soapclient/ setcookie.xml setlocation.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-2141@lists.php.net to get a copy of this message | ||
yago Mon, 01 Mar 2010 05:12:03 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295627
Log:
Translated files.
Changed paths:
A phpdoc/es/trunk/reference/soap/soapclient/setcookie.xml
A phpdoc/es/trunk/reference/soap/soapclient/setlocation.xml
Added: phpdoc/es/trunk/reference/soap/soapclient/setcookie.xml
===================================================================
--- phpdoc/es/trunk/reference/soap/soapclient/setcookie.xml (rev 0)
+++ phpdoc/es/trunk/reference/soap/soapclient/setcookie.xml 2010-03-01 05:12:03 UTC (rev 295627)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 288721 $ -->
+<!-- EN-Revision: 288721 Maintainer: yago Status: ready -->
+<refentry xml:id="soapclient.setcookie" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>SoapClient::__setCookie</refname>
+ <refpurpose>El propósito de __setCookie</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier>
<type>void</type><methodname>SoapClient::__setCookie</methodname>
+
<methodparam><type>string</type><parameter>name</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>value</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Define una cookie a ser enviada conjunto con la peticiones SOAP.
+ </para>
+ <note>
+ <para>
+ Al llamar este método afectará a todas las siguentes llamadas a
+ los métodos <classname>SoapClient</classname>.
+ </para>
+ </note>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>name</parameter></term>
+ <listitem>
+ <para>
+ El nombre de la cookie.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>value</parameter></term>
+ <listitem>
+ <para>
+ El valor de la cookie. Si no se especifica, la cookie será eliminada.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ &return.void;
+ </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
+-->
Added: phpdoc/es/trunk/reference/soap/soapclient/setlocation.xml
===================================================================
--- phpdoc/es/trunk/reference/soap/soapclient/setlocation.xml (rev 0)
+++ phpdoc/es/trunk/reference/soap/soapclient/setlocation.xml 2010-03-01 05:12:03 UTC (rev 295627)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision: 288721 $ -->
+<!-- EN-Revision: 288721 Maintainer: yago Status: ready -->
+<refentry xml:id="soapclient.setlocation" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>SoapClient::__setLocation</refname>
+ <refpurpose>Define la localización del servicio Web a utilizar.</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier>
<type>string</type><methodname>SoapClient::__setLocation</methodname>
+ <methodparam
choice="opt"><type>string</type><parameter>new_location</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Define la URL de conexión que será usada por las siguientes peticiones SOAP. Esto es
equivalente a
+ especificar la opción <literal>location</literal> cuando se construye el
SoapClient.
+ </para>
+ <note>
+ <para>
+ Llamar este método es opcional. El SoapClient utiliza la URL de conexión desde
+ el fichero WSDL por defecto.
+ </para>
+ </note>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>new_location</parameter></term>
+ <listitem>
+ <para>
+ La nueva URL de conexión.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </para>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ La anterior URL de conexión.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title>Ejemplo de
<function>SoapClient::__setLocation</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$client = new SoapClient('http://example.com/webservice.php?wsdl');
+
+$client->__setLocation('http://www.somethirdparty.com');
+
+$old_location = $client->__setLocation(); // Desactiva la opción location
+
+echo $old_location;
+
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+http://www.somethirdparty.com
+]]>
+ </screen>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><methodname>SoapClient::SoapClient</methodname></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
+-->