cvs: phpdoc-es /appendices reserved.constants.core.xml reserved.constants.standard.xml resources.xml wrappers.xml /faq installation.xml
/reference/domxml/functions xpath-eval-expression.xml /reference/var/functions get-defined-vars.xml
| From: | Leonardo Boshell | Date: | Wed, 15 Sep 2004 14:23:50 +0000 |
| Subject: | cvs: phpdoc-es /appendices reserved.constants.core.xml reserved.constants.standard.xml resources.xml wrappers.xml /faq installation.xml /reference/domxml/functions xpath-eval-expression.xml /reference/var/functions get-defined-vars.xml |
||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-705@lists.php.net to get a copy of this message | ||
lboshell Wed Sep 15 10:23:50 2004 EDT
Modified files:
/phpdoc-es/appendices reserved.constants.core.xml
reserved.constants.standard.xml resources.xml
wrappers.xml
/phpdoc-es/faq installation.xml
/phpdoc-es/reference/domxml/functions xpath-eval-expression.xml
/phpdoc-es/reference/var/functions get-defined-vars.xml
Log:
Actualizaciones breves
http://cvs.php.net/diff.php/phpdoc-es/appendices/reserved.constants.core.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-es/appendices/reserved.constants.core.xml diff -u phpdoc-es/appendices/reserved.constants.core.xml:1.4 phpdoc-es/appendices/reserved.constants.core.xml:1.5 --- phpdoc-es/appendices/reserved.constants.core.xml:1.4 Thu Aug 19 17:13:10 2004 +++ phpdoc-es/appendices/reserved.constants.core.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.10 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.11 Maintainer: lboshell Status: ready --> <refentry id="reserved.constants.core"> <refnamediv> <refname>Constantes Base Predefinidas</refname> http://cvs.php.net/diff.php/phpdoc-es/appendices/reserved.constants.standard.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-es/appendices/reserved.constants.standard.xml diff -u phpdoc-es/appendices/reserved.constants.standard.xml:1.2 phpdoc-es/appendices/reserved.constants.standard.xml:1.3 --- phpdoc-es/appendices/reserved.constants.standard.xml:1.2 Wed Sep 1 18:13:17 2004 +++ phpdoc-es/appendices/reserved.constants.standard.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.9 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.10 Maintainer: lboshell Status: ready --> <!-- DOCNOTE: some constants listed here are also there at reference/info/constants.xml. Further decision is needed http://cvs.php.net/diff.php/phpdoc-es/appendices/resources.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-es/appendices/resources.xml diff -u phpdoc-es/appendices/resources.xml:1.4 phpdoc-es/appendices/resources.xml:1.5 --- phpdoc-es/appendices/resources.xml:1.4 Thu Aug 12 20:05:29 2004 +++ phpdoc-es/appendices/resources.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.33 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.34 Maintainer: lboshell Status: ready --> <appendix id="resource"> <title>Lista de Tipos de Recurso</title> <para> @@ -2102,7 +2102,7 @@ <entry>Gestor de directorio</entry> </row> <row> - <entry>file</entry> + <entry>stream</entry> <entry> <function>fopen</function> </entry> @@ -2173,13 +2173,6 @@ </entry> <entry>Gestor de socket</entry> </row> - <row> - <entry>stream</entry> - <entry> </entry> - <entry> </entry> - <entry> </entry> - <entry> </entry> - </row> <row> <entry>sybase-db link</entry> <entry> http://cvs.php.net/diff.php/phpdoc-es/appendices/wrappers.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-es/appendices/wrappers.xml diff -u phpdoc-es/appendices/wrappers.xml:1.10 phpdoc-es/appendices/wrappers.xml:1.11 --- phpdoc-es/appendices/wrappers.xml:1.10 Tue Aug 10 18:47:30 2004 +++ phpdoc-es/appendices/wrappers.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.41 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.42 Maintainer: lboshell Status: ready --> <appendix id="wrappers"> <title>Lista de Protocolos/Envolturas Soportadas</title> <para> @@ -808,6 +808,173 @@ </table> </para> </section> + <section id="wrappers.audio"> + <title>Secuencias de Audio</title> + <simpara><filename>ogg://</filename> PHP 4.3.0 y superior (PECL) </simpara> + + <itemizedlist> + <listitem><simpara><filename>ogg://archivo_sonido.ogg</filename></simpara></listitem> + <listitem><simpara><filename>ogg:///ruta/hacia/archivo_sonido.ogg</filename></simpara></listitem> + <listitem><simpara><filename>ogg://http://www.example.com/ruta/hacia/secuencia_sonido.ogg</filename></simpara></listitem> + </itemizedlist> + + <note> + <title>Esta envoltura no está habilitada de manera + predeterminada</title> + <simpara> + Para poder usar la envoltura <filename>ogg://</filename>, necesita + instalar la extensión <ulink + url="&url.pecl.package;oggvorbis">OGG/Vorbis</ulink>, disponible + desde <ulink url="&url.pecl;">PECL</ulink>. + </simpara> + </note> + + <simpara> + Los archivos abiertos para lectura mediante la envoltura + <filename>ogg://</filename> son tratados como audio codificado + abierto usando el codec OGG/Vorbis. De forma semejante, los + archivos abiertos para escritura o adición a través + de la envoltura <filename>ogg://</filename> son escritos como datos + de audio comprimido. Cuando se usa + <function>stream_get_meta_data</function> sobre un archivo + OGG/Vorbis abierto para lectura, devolverá varios detalles + sobre la secuencia, incluyendo la etiqueta + <parameter>vendor</parameter>, cualquier comentario incluido en + <parameter>comments</parameter>, el número de canales en + <parameter>channels</parameter>, la tasa de muestra en + <parameter>rate</parameter>, y el rango de codificación + descrito por: <parameter>bitrate_lower</parameter>, + <parameter>bitrate_upper</parameter>, + <parameter>bitrate_nominal</parameter>, y + <parameter>bitrate_window</parameter>. + </simpara> + + <para> + <table> + <title>Resumen de Envoltura</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Atributo</entry> + <entry>Soporte</entry> + </row> + </thead> + <tbody> + <row> + <entry>Restricción por <link + linkend="ini.allow-url-fopen">allow_url_fopen</link>.</entry> + <entry>No</entry> + </row> + <row> + <entry>Permite Lectura</entry> + <entry>Si</entry> + </row> + <row> + <entry>Permite Escritura</entry> + <entry>Si</entry> + </row> + <row> + <entry>Permite Adición</entry> + <entry>Si</entry> + </row> + <row> + <entry>Permite Lectura y Escritura Simultánea</entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>stat</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>unlink</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>rename</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>mkdir</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>rmdir</function></entry> + <entry>No</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + <para> + <table> + <title>Opciones de contexto</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Nombre</entry> + <entry>Uso</entry> + <entry>Predeterminado</entry> + <entry>Modo</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>pcm_mode</literal></entry> + <entry> + Codificación PCM a aplicar durante la lectura, un valor + entre: <constant>OGGVORBIS_PCM_U8</constant>, + <constant>OGGVORBIS_PCM_S8</constant>, + <constant>OGGVORBIS_PCM_U16_BE</constant>, + <constant>OGGVORBIS_PCM_S16_BE</constant>, + <constant>OGGVORBIS_PCM_U16_LE</constant>, y + <constant>OGGVORBIS_PCM_S16_LE</constant>. (8 vs 16 bit, con + signo o sin signo, big-endian o little-endian) + </entry> + <entry>OGGVORBIS_PCM_S16_LE</entry> + <entry>Lectura</entry> + </row> + <row> + <entry><literal>rate</literal></entry> + <entry> + Tasa de muestra de datos de entrada, expresada en Hz + </entry> + <entry>44100</entry> + <entry>Escritura/Adición</entry> + </row> + <row> + <entry><literal>bitrate</literal></entry> + <entry> + Cuando es un valor entero, la tasa de bits fija para + codificar. (16000 a 131072) Cuando se define como flotante, la + calidad de tasa de bits variable a usar. (-1.0 a 1.0) + </entry> + <entry>128000</entry> + <entry>Escritura/Adición</entry> + </row> + <row> + <entry><literal>channels</literal></entry> + <entry> + El número de canales de audio a codificar, normalmente + 1 (Mono), o 2 (Stero). Su rango puede llegar hasta 16. + </entry> + <entry>2</entry> + <entry>Escritura/Adición</entry> + </row> + <row> + <entry><literal>comments</literal></entry> + <entry> + Una matriz de valores de cadena para codificar en la cabecera + del material. + </entry> + <entry/> + <entry>Escritura/Adición</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </section> + </appendix> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-es/faq/installation.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-es/faq/installation.xml diff -u phpdoc-es/faq/installation.xml:1.10 phpdoc-es/faq/installation.xml:1.11 --- phpdoc-es/faq/installation.xml:1.10 Thu Aug 19 17:13:10 2004 +++ phpdoc-es/faq/installation.xml Wed Sep 15 10:23:50 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.38 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.39 Maintainer: lboshell Status: ready --> <chapter id="faq.installation"> <title>Instalación</title> <titleabbrev>Instalación</titleabbrev> @@ -705,7 +705,16 @@ Guarde el archivo y reinicie su máquina </para></listitem> </itemizedlist> - </para> + </para> + <para> + El manual de PHP solía promover la copia de archivos al + directorio system de Windows, esto es porque el directorio + (<filename>C:\Windows</filename>, <filename>C:\WINNT</filename>, + etc.) se encuentra por defecto en el valor PATH del + sistema. Copiar archivos en el directorio system de Windows se + considera obsoleto desde hace bastante tiempo, y puede causar + problemas. + </para> </answer> </qandaentry> http://cvs.php.net/diff.php/phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml diff -u phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml:1.1 phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml:1.2 --- phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml:1.1 Wed Jun 23 14:41:19 2004 +++ phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml Wed Sep 15 10:23:50 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.29 --> <refentry id="function.xpath-eval-expression"> <refnamediv> @@ -13,11 +13,57 @@ <refsect1> <title>Descripción</title> <methodsynopsis> - <type>array</type><methodname>xpath_eval_expression</methodname> + <type>object</type><methodname>xpath_eval_expression</methodname> <methodparam><type>object</type><parameter>contexto_xpath</parameter></methodparam> + <methodparam><type>string</type><parameter>expresion</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> + <example> + <title>Ejemplo de <function>xpath_eval_expression</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +include("ejemplo.inc"); + +if (!$dom = domxml_open_mem($cadena_xml)) { + echo "Ocurrió un error al interpretar el documento\n"; + exit; +} + +$xpath = xpath_new_context($dom); +var_dump(xpath_eval_expression($xpath, '/chapter/@language')); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +object(XPathObject)(2) { + ["type"]=> + int(1) + ["nodeset"]=> + array(1) { + [0]=> + object(domattribute)(5) { + ["type"]=> + int(2) + ["name"]=> + string(8) "language" + ["value"]=> + string(2) "en" + [0]=> + int(7) + [1]=> + int(138004256) + } + } +} +]]> + </screen> + </example> </para> <para> Vea también <function>xpath_eval</function>. http://cvs.php.net/diff.php/phpdoc-es/reference/var/functions/get-defined-vars.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-es/reference/var/functions/get-defined-vars.xml diff -u phpdoc-es/reference/var/functions/get-defined-vars.xml:1.3 phpdoc-es/reference/var/functions/get-defined-vars.xml:1.4 --- phpdoc-es/reference/var/functions/get-defined-vars.xml:1.3 Tue Aug 24 19:09:31 2004 +++ phpdoc-es/reference/var/functions/get-defined-vars.xml Wed Sep 15 10:23:50 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.8 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.9 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.34 --> <refentry id="function.get-defined-vars"> <refnamediv> @@ -18,7 +18,11 @@ <para> Esta función devuelve una matriz multidimensional que contiene una lista de todas las variables definidas, ya sean - variables de entorno, de servidor, o definidas por el usuario. + variables de entorno, de servidor, o definidas por el usuario, al + interior del contexto en el que + <function>get_defined_vars</function> es llamado. A partir de PHP + 5, la variable $GLOBALS se incluye en los resultados de la matriz + devuelta. </para> <para> <informalexample>
http://cvs.php.net/diff.php/phpdoc-es/appendices/reserved.constants.core.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-es/appendices/reserved.constants.core.xml diff -u phpdoc-es/appendices/reserved.constants.core.xml:1.4 phpdoc-es/appendices/reserved.constants.core.xml:1.5 --- phpdoc-es/appendices/reserved.constants.core.xml:1.4 Thu Aug 19 17:13:10 2004 +++ phpdoc-es/appendices/reserved.constants.core.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.10 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.11 Maintainer: lboshell Status: ready --> <refentry id="reserved.constants.core"> <refnamediv> <refname>Constantes Base Predefinidas</refname> http://cvs.php.net/diff.php/phpdoc-es/appendices/reserved.constants.standard.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-es/appendices/reserved.constants.standard.xml diff -u phpdoc-es/appendices/reserved.constants.standard.xml:1.2 phpdoc-es/appendices/reserved.constants.standard.xml:1.3 --- phpdoc-es/appendices/reserved.constants.standard.xml:1.2 Wed Sep 1 18:13:17 2004 +++ phpdoc-es/appendices/reserved.constants.standard.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.9 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.10 Maintainer: lboshell Status: ready --> <!-- DOCNOTE: some constants listed here are also there at reference/info/constants.xml. Further decision is needed http://cvs.php.net/diff.php/phpdoc-es/appendices/resources.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-es/appendices/resources.xml diff -u phpdoc-es/appendices/resources.xml:1.4 phpdoc-es/appendices/resources.xml:1.5 --- phpdoc-es/appendices/resources.xml:1.4 Thu Aug 12 20:05:29 2004 +++ phpdoc-es/appendices/resources.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.33 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.34 Maintainer: lboshell Status: ready --> <appendix id="resource"> <title>Lista de Tipos de Recurso</title> <para> @@ -2102,7 +2102,7 @@ <entry>Gestor de directorio</entry> </row> <row> - <entry>file</entry> + <entry>stream</entry> <entry> <function>fopen</function> </entry> @@ -2173,13 +2173,6 @@ </entry> <entry>Gestor de socket</entry> </row> - <row> - <entry>stream</entry> - <entry> </entry> - <entry> </entry> - <entry> </entry> - <entry> </entry> - </row> <row> <entry>sybase-db link</entry> <entry> http://cvs.php.net/diff.php/phpdoc-es/appendices/wrappers.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-es/appendices/wrappers.xml diff -u phpdoc-es/appendices/wrappers.xml:1.10 phpdoc-es/appendices/wrappers.xml:1.11 --- phpdoc-es/appendices/wrappers.xml:1.10 Tue Aug 10 18:47:30 2004 +++ phpdoc-es/appendices/wrappers.xml Wed Sep 15 10:23:49 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.41 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.42 Maintainer: lboshell Status: ready --> <appendix id="wrappers"> <title>Lista de Protocolos/Envolturas Soportadas</title> <para> @@ -808,6 +808,173 @@ </table> </para> </section> + <section id="wrappers.audio"> + <title>Secuencias de Audio</title> + <simpara><filename>ogg://</filename> PHP 4.3.0 y superior (PECL) </simpara> + + <itemizedlist> + <listitem><simpara><filename>ogg://archivo_sonido.ogg</filename></simpara></listitem> + <listitem><simpara><filename>ogg:///ruta/hacia/archivo_sonido.ogg</filename></simpara></listitem> + <listitem><simpara><filename>ogg://http://www.example.com/ruta/hacia/secuencia_sonido.ogg</filename></simpara></listitem> + </itemizedlist> + + <note> + <title>Esta envoltura no está habilitada de manera + predeterminada</title> + <simpara> + Para poder usar la envoltura <filename>ogg://</filename>, necesita + instalar la extensión <ulink + url="&url.pecl.package;oggvorbis">OGG/Vorbis</ulink>, disponible + desde <ulink url="&url.pecl;">PECL</ulink>. + </simpara> + </note> + + <simpara> + Los archivos abiertos para lectura mediante la envoltura + <filename>ogg://</filename> son tratados como audio codificado + abierto usando el codec OGG/Vorbis. De forma semejante, los + archivos abiertos para escritura o adición a través + de la envoltura <filename>ogg://</filename> son escritos como datos + de audio comprimido. Cuando se usa + <function>stream_get_meta_data</function> sobre un archivo + OGG/Vorbis abierto para lectura, devolverá varios detalles + sobre la secuencia, incluyendo la etiqueta + <parameter>vendor</parameter>, cualquier comentario incluido en + <parameter>comments</parameter>, el número de canales en + <parameter>channels</parameter>, la tasa de muestra en + <parameter>rate</parameter>, y el rango de codificación + descrito por: <parameter>bitrate_lower</parameter>, + <parameter>bitrate_upper</parameter>, + <parameter>bitrate_nominal</parameter>, y + <parameter>bitrate_window</parameter>. + </simpara> + + <para> + <table> + <title>Resumen de Envoltura</title> + <tgroup cols="2"> + <thead> + <row> + <entry>Atributo</entry> + <entry>Soporte</entry> + </row> + </thead> + <tbody> + <row> + <entry>Restricción por <link + linkend="ini.allow-url-fopen">allow_url_fopen</link>.</entry> + <entry>No</entry> + </row> + <row> + <entry>Permite Lectura</entry> + <entry>Si</entry> + </row> + <row> + <entry>Permite Escritura</entry> + <entry>Si</entry> + </row> + <row> + <entry>Permite Adición</entry> + <entry>Si</entry> + </row> + <row> + <entry>Permite Lectura y Escritura Simultánea</entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>stat</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>unlink</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>rename</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>mkdir</function></entry> + <entry>No</entry> + </row> + <row> + <entry>Soporte <function>rmdir</function></entry> + <entry>No</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + <para> + <table> + <title>Opciones de contexto</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Nombre</entry> + <entry>Uso</entry> + <entry>Predeterminado</entry> + <entry>Modo</entry> + </row> + </thead> + <tbody> + <row> + <entry><literal>pcm_mode</literal></entry> + <entry> + Codificación PCM a aplicar durante la lectura, un valor + entre: <constant>OGGVORBIS_PCM_U8</constant>, + <constant>OGGVORBIS_PCM_S8</constant>, + <constant>OGGVORBIS_PCM_U16_BE</constant>, + <constant>OGGVORBIS_PCM_S16_BE</constant>, + <constant>OGGVORBIS_PCM_U16_LE</constant>, y + <constant>OGGVORBIS_PCM_S16_LE</constant>. (8 vs 16 bit, con + signo o sin signo, big-endian o little-endian) + </entry> + <entry>OGGVORBIS_PCM_S16_LE</entry> + <entry>Lectura</entry> + </row> + <row> + <entry><literal>rate</literal></entry> + <entry> + Tasa de muestra de datos de entrada, expresada en Hz + </entry> + <entry>44100</entry> + <entry>Escritura/Adición</entry> + </row> + <row> + <entry><literal>bitrate</literal></entry> + <entry> + Cuando es un valor entero, la tasa de bits fija para + codificar. (16000 a 131072) Cuando se define como flotante, la + calidad de tasa de bits variable a usar. (-1.0 a 1.0) + </entry> + <entry>128000</entry> + <entry>Escritura/Adición</entry> + </row> + <row> + <entry><literal>channels</literal></entry> + <entry> + El número de canales de audio a codificar, normalmente + 1 (Mono), o 2 (Stero). Su rango puede llegar hasta 16. + </entry> + <entry>2</entry> + <entry>Escritura/Adición</entry> + </row> + <row> + <entry><literal>comments</literal></entry> + <entry> + Una matriz de valores de cadena para codificar en la cabecera + del material. + </entry> + <entry/> + <entry>Escritura/Adición</entry> + </row> + </tbody> + </tgroup> + </table> + </para> + </section> + </appendix> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-es/faq/installation.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-es/faq/installation.xml diff -u phpdoc-es/faq/installation.xml:1.10 phpdoc-es/faq/installation.xml:1.11 --- phpdoc-es/faq/installation.xml:1.10 Thu Aug 19 17:13:10 2004 +++ phpdoc-es/faq/installation.xml Wed Sep 15 10:23:50 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.38 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.39 Maintainer: lboshell Status: ready --> <chapter id="faq.installation"> <title>Instalación</title> <titleabbrev>Instalación</titleabbrev> @@ -705,7 +705,16 @@ Guarde el archivo y reinicie su máquina </para></listitem> </itemizedlist> - </para> + </para> + <para> + El manual de PHP solía promover la copia de archivos al + directorio system de Windows, esto es porque el directorio + (<filename>C:\Windows</filename>, <filename>C:\WINNT</filename>, + etc.) se encuentra por defecto en el valor PATH del + sistema. Copiar archivos en el directorio system de Windows se + considera obsoleto desde hace bastante tiempo, y puede causar + problemas. + </para> </answer> </qandaentry> http://cvs.php.net/diff.php/phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml diff -u phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml:1.1 phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml:1.2 --- phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml:1.1 Wed Jun 23 14:41:19 2004 +++ phpdoc-es/reference/domxml/functions/xpath-eval-expression.xml Wed Sep 15 10:23:50 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/domxml.xml, last change in rev 1.29 --> <refentry id="function.xpath-eval-expression"> <refnamediv> @@ -13,11 +13,57 @@ <refsect1> <title>Descripción</title> <methodsynopsis> - <type>array</type><methodname>xpath_eval_expression</methodname> + <type>object</type><methodname>xpath_eval_expression</methodname> <methodparam><type>object</type><parameter>contexto_xpath</parameter></methodparam> + <methodparam><type>string</type><parameter>expresion</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> + <example> + <title>Ejemplo de <function>xpath_eval_expression</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +include("ejemplo.inc"); + +if (!$dom = domxml_open_mem($cadena_xml)) { + echo "Ocurrió un error al interpretar el documento\n"; + exit; +} + +$xpath = xpath_new_context($dom); +var_dump(xpath_eval_expression($xpath, '/chapter/@language')); + +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +object(XPathObject)(2) { + ["type"]=> + int(1) + ["nodeset"]=> + array(1) { + [0]=> + object(domattribute)(5) { + ["type"]=> + int(2) + ["name"]=> + string(8) "language" + ["value"]=> + string(2) "en" + [0]=> + int(7) + [1]=> + int(138004256) + } + } +} +]]> + </screen> + </example> </para> <para> Vea también <function>xpath_eval</function>. http://cvs.php.net/diff.php/phpdoc-es/reference/var/functions/get-defined-vars.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-es/reference/var/functions/get-defined-vars.xml diff -u phpdoc-es/reference/var/functions/get-defined-vars.xml:1.3 phpdoc-es/reference/var/functions/get-defined-vars.xml:1.4 --- phpdoc-es/reference/var/functions/get-defined-vars.xml:1.3 Tue Aug 24 19:09:31 2004 +++ phpdoc-es/reference/var/functions/get-defined-vars.xml Wed Sep 15 10:23:50 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.8 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.9 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.34 --> <refentry id="function.get-defined-vars"> <refnamediv> @@ -18,7 +18,11 @@ <para> Esta función devuelve una matriz multidimensional que contiene una lista de todas las variables definidas, ya sean - variables de entorno, de servidor, o definidas por el usuario. + variables de entorno, de servidor, o definidas por el usuario, al + interior del contexto en el que + <function>get_defined_vars</function> es llamado. A partir de PHP + 5, la variable $GLOBALS se incluye en los resultados de la matriz + devuelta. </para> <para> <informalexample>