svn: /phpdoc/es/trunk/reference/gupnp/functions/ gupnp-context-host-path.xml

From: Date: Sun, 19 Sep 2010 18:14:35 +0000
Subject: svn: /phpdoc/es/trunk/reference/gupnp/functions/ gupnp-context-host-path.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-3495@lists.php.net to get a copy of this message
agarzon Sun, 19 Sep 2010 18:14:35 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=303571 Log: Updating Changed paths: U phpdoc/es/trunk/reference/gupnp/functions/gupnp-context-host-path.xml Modified: phpdoc/es/trunk/reference/gupnp/functions/gupnp-context-host-path.xml =================================================================== --- phpdoc/es/trunk/reference/gupnp/functions/gupnp-context-host-path.xml 2010-09-19 13:42:13 UTC (rev 303570) +++ phpdoc/es/trunk/reference/gupnp/functions/gupnp-context-host-path.xml 2010-09-19 18:14:35 UTC (rev 303571) @@ -1,12 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> +<!-- EN-Revision: 290998 Maintainer: agarzon Status: ready --> <refentry xml:id="function.gupnp-context-host-path" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>gupnp_context_host_path</refname> <refpurpose>Inicio de Alojamiento</refpurpose> </refnamediv> - + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -16,11 +17,11 @@ <methodparam><type>string</type><parameter>server_path</parameter></methodparam> </methodsynopsis> <para> - Start hosting <parameter>local_path</parameter> at <parameter>server_path</parameter>. Files with the path <parameter>local_path</parameter>.LOCALE (if they exist) - will be served up when LOCALE is specified in the request's Accept-Language header. + Inicia el alojamiento de <parameter>local_path</parameter> a <parameter>server_path</parameter>. Archivos con la ruta <parameter>local_path</parameter>.LOCALE (en caso de existir) + serán servidos cuando LOCALE sea indicado en la cabecera Accept-Language. </para> </refsect1> - + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -29,7 +30,7 @@ <term><parameter>context</parameter></term> <listitem> <para> - A context identifier, returned by <function>gupnp_context_new</function>. + Un identificador de contexto, devuelto por <function>gupnp_context_new</function>. </para> </listitem> </varlistentry> @@ -37,7 +38,7 @@ <term><parameter>local_path</parameter></term> <listitem> <para> - Path to the local file or folder to be hosted. + Ruta al archivo o o directorio local a ser alojado. </para> </listitem> </varlistentry> @@ -45,38 +46,38 @@ <term><parameter>server_path</parameter></term> <listitem> <para> - Web server path where <parameter>local_path</parameter> should be hosted. + Ruta del servidor Web donde <parameter>local_path</parameter> será alojado. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> - + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.success; </para> </refsect1> - + <refsect1 role="examples"> &reftitle.examples; <para> <example> - <title>Create new UPnP context and set host path</title> + <title>Crea un nuevo contexto UPnP y establece la ruta de alojamiento</title> <programlisting role="php"> <![CDATA[ <?php -/* Create the UPnP context */ +/* Crea un nuevo contexto UPnP */ $context = gupnp_context_new(); if (!$context) { - die("Error creating the GUPnP context\n"); + die("Error creando el contexto GUPnP\n"); } -/* Host current directory */ +/* Alojar directorio actual */ gupnp_context_host_path($context, "./web", ""); ?> @@ -85,7 +86,7 @@ </example> </para> </refsect1> - + <refsect1 role="seealso"> &reftitle.seealso; <para> @@ -95,7 +96,7 @@ </simplelist> </para> </refsect1> - + </refentry> <!-- Keep this comment at the end of the file

« previous php.doc.es (#3495) next »