cvs: phpdoc-es / translation.xml /reference/array/functions range.xml /reference/dir/functions getcwd.xml /reference/errorfunc examples.xml
/reference/info/functions dl.xml get-defined-constants.xml get-extension-funcs.xml get-included-files.xml get-loaded-extensions.xml
get-required-files.xml ini-alter.xml ini-get-all.xml ini-restore.xml php-sapi-name.xml zend-version.xml /reference/math constants.xml
/reference/math/functions expm1.xml log1p.xml /reference/mhash constants.xml /reference/mhash/functions mhash-keygen-s2k.xml /reference/mime_magic
reference.xml /reference/mime_magic/functions mime-content-type.xml /reference/misc/functions highlight-file.xml /reference/network constants.xml
/reference/network/functions dns-get-record.xml /reference/stream/functions stream-context-create.xml stream-context-get-options.xml
stream-context-set-option.xml stream-context-set-params.xml /reference/strings/functions money-format.xml /reference/var/functions
get-defined-vars.xml get-resource-type.xml

From: Date: Fri, 19 Dec 2003 01:59:24 +0000
Subject: cvs: phpdoc-es / translation.xml /reference/array/functions range.xml /reference/dir/functions getcwd.xml /reference/errorfunc examples.xml
/reference/info/functions dl.xml get-defined-constants.xml get-extension-funcs.xml get-included-files.xml get-loaded-extensions.xml
get-required-files.xml ini-alter.xml ini-get-all.xml ini-restore.xml php-sapi-name.xml zend-version.xml /reference/math constants.xml
/reference/math/functions expm1.xml log1p.xml /reference/mhash constants.xml /reference/mhash/functions mhash-keygen-s2k.xml /reference/mime_magic
reference.xml /reference/mime_magic/functions mime-content-type.xml /reference/misc/functions highlight-file.xml /reference/network constants.xml
/reference/network/functions dns-get-record.xml /reference/stream/functions stream-context-create.xml stream-context-get-options.xml
stream-context-set-option.xml stream-context-set-params.xml /reference/strings/functions money-format.xml /reference/var/functions
get-defined-vars.xml get-resource-type.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-450@lists.php.net to get a copy of this message
lboshell Thu Dec 18 20:59:24 2003 EDT Added files: /phpdoc-es/reference/stream/functions stream-context-create.xml stream-context-get-options.xml stream-context-set-option.xml stream-context-set-params.xml Modified files: /phpdoc-es translation.xml /phpdoc-es/reference/array/functions range.xml /phpdoc-es/reference/dir/functions getcwd.xml /phpdoc-es/reference/errorfunc examples.xml /phpdoc-es/reference/info/functions dl.xml get-defined-constants.xml get-extension-funcs.xml get-included-files.xml get-loaded-extensions.xml get-required-files.xml ini-alter.xml ini-get-all.xml ini-restore.xml php-sapi-name.xml zend-version.xml /phpdoc-es/reference/math constants.xml /phpdoc-es/reference/math/functions expm1.xml log1p.xml /phpdoc-es/reference/mhash constants.xml /phpdoc-es/reference/mhash/functions mhash-keygen-s2k.xml /phpdoc-es/reference/mime_magic reference.xml /phpdoc-es/reference/mime_magic/functions mime-content-type.xml /phpdoc-es/reference/misc/functions highlight-file.xml /phpdoc-es/reference/network constants.xml /phpdoc-es/reference/network/functions dns-get-record.xml /phpdoc-es/reference/strings/functions money-format.xml /phpdoc-es/reference/var/functions get-defined-vars.xml get-resource-type.xml Log: Nuevos archivos de reference/stream. Actualizaciones.

Index: phpdoc-es/translation.xml diff -u phpdoc-es/translation.xml:1.105 phpdoc-es/translation.xml:1.106 --- phpdoc-es/translation.xml:1.105 Wed Dec 17 23:38:31 2003 +++ phpdoc-es/translation.xml Thu Dec 18 20:59:11 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.105 $ --> +<!-- $Revision: 1.106 $ --> <!DOCTYPE translation SYSTEM "../entities/translation.dtd"> <translation> @@ -45,10 +45,6 @@ <file name="reference/errorfunc/functions/set-error-handler.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/trigger-error.xml" person="javi" type="translation" date="01.12.2003"/> <file name="reference/errorfunc/functions/user-error.xml" person="javi" type="translation" date="01.12.2003"/> -<file name="reference/stream/functions/stream-context-create.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-context-get-options.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-context-set-option.xml" person="lboshell" type="translation" date="16.12.2003"/> -<file name="reference/stream/functions/stream-context-set-params.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-copy-to-stream.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-filter-append.xml" person="lboshell" type="translation" date="16.12.2003"/> <file name="reference/stream/functions/stream-filter-prepend.xml" person="lboshell" type="translation" date="16.12.2003"/> Index: phpdoc-es/reference/array/functions/range.xml diff -u phpdoc-es/reference/array/functions/range.xml:1.3 phpdoc-es/reference/array/functions/range.xml:1.4 --- phpdoc-es/reference/array/functions/range.xml:1.3 Mon Dec 15 22:09:46 2003 +++ phpdoc-es/reference/array/functions/range.xml Thu Dec 18 20:59:11 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.12 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.range"> <refnamediv> @@ -45,7 +45,7 @@ <programlisting role="php"> <![CDATA[ <?php -// array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ,11, 12) +// array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) foreach (range(0, 12) as $numero) { echo $numero; } Index: phpdoc-es/reference/dir/functions/getcwd.xml diff -u phpdoc-es/reference/dir/functions/getcwd.xml:1.1 phpdoc-es/reference/dir/functions/getcwd.xml:1.2 --- phpdoc-es/reference/dir/functions/getcwd.xml:1.1 Mon Aug 11 12:10:14 2003 +++ phpdoc-es/reference/dir/functions/getcwd.xml Thu Dec 18 20:59:12 2003 @@ -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/dir.xml, last change in rev 1.7 --> <refentry id="function.getcwd"> <refnamediv> @@ -17,6 +17,35 @@ Devuelve el directorio de trabajo actual. </para> <para> + <example> + <title>Ejemplo de <function>getcwd</function></title> + <programlisting role="php"> +<![CDATA[ +<?php + +// directorio actual +echo getcwd() . "\n"; + +chdir('cvs'); + +// directorio actual +echo getcwd() . "\n"; + +?> +]]> + </programlisting> + <para> + Este ejemplo producir&aacute; la salida: + </para> + <screen> +<![CDATA[ +/home/didou +/home/didou/cvs +]]> + </screen> + </example> + </para> + <para> Vea tambi&eacute;n <function>chdir</function>. </para> </refsect1> Index: phpdoc-es/reference/errorfunc/examples.xml diff -u phpdoc-es/reference/errorfunc/examples.xml:1.2 phpdoc-es/reference/errorfunc/examples.xml:1.3 --- phpdoc-es/reference/errorfunc/examples.xml:1.2 Mon Dec 15 22:09:57 2003 +++ phpdoc-es/reference/errorfunc/examples.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <section id="errorfunc.examples"> &reftitle.examples; <para> @@ -30,17 +30,17 @@ // en realidad las &uacute;nicas entradas que deber&iacute;amos // considerar son 2, 8, 256, 512 y 1024 $tipo_error = array ( - 1 => "Error", - 2 => "Advertencia", - 4 => "Error de Int&eacute;rprete", - 8 => "Anotaci&oacute;n", - 16 => "Error de N&uacute;cleo", - 32 => "Advertencia de N&uacute;cleo", - 64 => "Error de Compilaci&oacute;n", - 128 => "Advertencia de Compilaci&oacute;n", - 256 => "Error de Usuario", - 512 => "Advertencia de Usuario", - 1024=> "Anotaci&oacute;n de Usuario" + 1 => "Error", + 2 => "Advertencia", + 4 => "Error de Int&eacute;rprete", + 8 => "Anotaci&oacute;n", + 16 => "Error de N&uacute;cleo", + 32 => "Advertencia de N&uacute;cleo", + 64 => "Error de Compilaci&oacute;n", + 128 => "Advertencia de Compilaci&oacute;n", + 256 => "Error de Usuario", + 512 => "Advertencia de Usuario", + 1024 => "Anotaci&oacute;n de Usuario" ); // conjunto de errores de los cuales se almacenar&aacute; un rastreo $errores_de_usuario = array(E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE); @@ -107,16 +107,16 @@ // definir algunos "vectores" $a = array(2, 3, "foo"); $b = array(5.5, 4.3, -1.6); -$c = array (1,-3); +$c = array (1, -3); // generar un error de usuario -$t1 = distance($c, $b)."\n"; +$t1 = distance($c, $b) . "\n"; // generar otro error de usuario -$t2 = distance($b, "no soy una matriz")."\n"; +$t2 = distance($b, "no soy una matriz") . "\n"; // generar una advertencia -$t3 = distance($a, $b)."\n"; +$t3 = distance($a, $b) . "\n"; ?> ]]> Index: phpdoc-es/reference/info/functions/dl.xml diff -u phpdoc-es/reference/info/functions/dl.xml:1.2 phpdoc-es/reference/info/functions/dl.xml:1.3 --- phpdoc-es/reference/info/functions/dl.xml:1.2 Tue Dec 16 22:09:05 2003 +++ phpdoc-es/reference/info/functions/dl.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.14 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.15 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.29 --> <refentry id="function.dl"> <refnamediv> @@ -49,7 +49,7 @@ <?php // Ejemplo de carga de una extension en base al SO if (!extension_loaded('sqlite')) { - if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) { + if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')) { dl('php_sqlite.dll'); } else { dl('sqlite.so'); Index: phpdoc-es/reference/info/functions/get-defined-constants.xml diff -u phpdoc-es/reference/info/functions/get-defined-constants.xml:1.1 phpdoc-es/reference/info/functions/get-defined-constants.xml:1.2 --- phpdoc-es/reference/info/functions/get-defined-constants.xml:1.1 Mon Dec 1 20:52:28 2003 +++ phpdoc-es/reference/info/functions/get-defined-constants.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.71 --> <refentry id="function.get-defined-constants"> <refnamediv> Index: phpdoc-es/reference/info/functions/get-extension-funcs.xml diff -u phpdoc-es/reference/info/functions/get-extension-funcs.xml:1.1 phpdoc-es/reference/info/functions/get-extension-funcs.xml:1.2 --- phpdoc-es/reference/info/functions/get-extension-funcs.xml:1.1 Tue Dec 2 20:30:19 2003 +++ phpdoc-es/reference/info/functions/get-extension-funcs.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.71 --> <refentry id="function.get-extension-funcs"> <refnamediv> Index: phpdoc-es/reference/info/functions/get-included-files.xml diff -u phpdoc-es/reference/info/functions/get-included-files.xml:1.2 phpdoc-es/reference/info/functions/get-included-files.xml:1.3 --- phpdoc-es/reference/info/functions/get-included-files.xml:1.2 Mon Dec 15 23:43:30 2003 +++ phpdoc-es/reference/info/functions/get-included-files.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.7 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.71 --> <refentry id="function.get-included-files"> <refnamediv> Index: phpdoc-es/reference/info/functions/get-loaded-extensions.xml diff -u phpdoc-es/reference/info/functions/get-loaded-extensions.xml:1.1 phpdoc-es/reference/info/functions/get-loaded-extensions.xml:1.2 --- phpdoc-es/reference/info/functions/get-loaded-extensions.xml:1.1 Tue Dec 2 20:30:19 2003 +++ phpdoc-es/reference/info/functions/get-loaded-extensions.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.8 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.71 --> <refentry id="function.get-loaded-extensions"> <refnamediv> Index: phpdoc-es/reference/info/functions/get-required-files.xml diff -u phpdoc-es/reference/info/functions/get-required-files.xml:1.1 phpdoc-es/reference/info/functions/get-required-files.xml:1.2 --- phpdoc-es/reference/info/functions/get-required-files.xml:1.1 Tue Dec 2 20:30:19 2003 +++ phpdoc-es/reference/info/functions/get-required-files.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.71 --> <refentry id="function.get-required-files"> <refnamediv> Index: phpdoc-es/reference/info/functions/ini-alter.xml diff -u phpdoc-es/reference/info/functions/ini-alter.xml:1.1 phpdoc-es/reference/info/functions/ini-alter.xml:1.2 --- phpdoc-es/reference/info/functions/ini-alter.xml:1.1 Tue Dec 2 20:30:19 2003 +++ phpdoc-es/reference/info/functions/ini-alter.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.23 --> <refentry id="function.ini-alter"> <refnamediv> Index: phpdoc-es/reference/info/functions/ini-get-all.xml diff -u phpdoc-es/reference/info/functions/ini-get-all.xml:1.2 phpdoc-es/reference/info/functions/ini-get-all.xml:1.3 --- phpdoc-es/reference/info/functions/ini-get-all.xml:1.2 Mon Dec 15 23:43:30 2003 +++ phpdoc-es/reference/info/functions/ini-get-all.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.8 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.23 --> <refentry id="function.ini-get-all"> <refnamediv> Index: phpdoc-es/reference/info/functions/ini-restore.xml diff -u phpdoc-es/reference/info/functions/ini-restore.xml:1.1 phpdoc-es/reference/info/functions/ini-restore.xml:1.2 --- phpdoc-es/reference/info/functions/ini-restore.xml:1.1 Tue Dec 2 20:30:19 2003 +++ phpdoc-es/reference/info/functions/ini-restore.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.23 --> <refentry id="function.ini-restore"> <refnamediv> Index: phpdoc-es/reference/info/functions/php-sapi-name.xml diff -u phpdoc-es/reference/info/functions/php-sapi-name.xml:1.2 phpdoc-es/reference/info/functions/php-sapi-name.xml:1.3 --- phpdoc-es/reference/info/functions/php-sapi-name.xml:1.2 Mon Dec 15 23:43:30 2003 +++ phpdoc-es/reference/info/functions/php-sapi-name.xml Thu Dec 18 20:59:13 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.7 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.25 --> <refentry id="function.php-sapi-name"> <refnamediv> Index: phpdoc-es/reference/info/functions/zend-version.xml diff -u phpdoc-es/reference/info/functions/zend-version.xml:1.1 phpdoc-es/reference/info/functions/zend-version.xml:1.2 --- phpdoc-es/reference/info/functions/zend-version.xml:1.1 Tue Dec 2 20:30:19 2003 +++ phpdoc-es/reference/info/functions/zend-version.xml Thu Dec 18 20:59:14 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.7 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.9 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/info.xml, last change in rev 1.11 --> <refentry id="function.zend-version"> <refnamediv> Index: phpdoc-es/reference/math/constants.xml diff -u phpdoc-es/reference/math/constants.xml:1.1 phpdoc-es/reference/math/constants.xml:1.2 --- phpdoc-es/reference/math/constants.xml:1.1 Wed Nov 19 00:46:07 2003 +++ phpdoc-es/reference/math/constants.xml Thu Dec 18 20:59:14 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <section id="math.constants"> &reftitle.constants; &extension.constants.core; Index: phpdoc-es/reference/math/functions/expm1.xml diff -u phpdoc-es/reference/math/functions/expm1.xml:1.1 phpdoc-es/reference/math/functions/expm1.xml:1.2 --- phpdoc-es/reference/math/functions/expm1.xml:1.1 Wed Nov 19 00:46:08 2003 +++ phpdoc-es/reference/math/functions/expm1.xml Thu Dec 18 20:59:15 2003 @@ -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/math.xml, last change in rev 1.63 --> <refentry id='function.expm1'> <refnamediv> @@ -20,6 +20,7 @@ <para> &warn.undocumented.func; </para> + &note.no-windows; </refsect1> </refentry> Index: phpdoc-es/reference/math/functions/log1p.xml diff -u phpdoc-es/reference/math/functions/log1p.xml:1.2 phpdoc-es/reference/math/functions/log1p.xml:1.3 --- phpdoc-es/reference/math/functions/log1p.xml:1.2 Tue Dec 9 21:12:40 2003 +++ phpdoc-es/reference/math/functions/log1p.xml Thu Dec 18 20:59:15 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/math.xml, last change in rev 1.63 --> <refentry id='function.log1p'> <refnamediv> @@ -20,6 +20,7 @@ <para> &warn.undocumented.func; </para> + &note.no-windows; </refsect1> </refentry> Index: phpdoc-es/reference/mhash/constants.xml diff -u phpdoc-es/reference/mhash/constants.xml:1.1 phpdoc-es/reference/mhash/constants.xml:1.2 --- phpdoc-es/reference/mhash/constants.xml:1.1 Thu Nov 20 18:02:05 2003 +++ phpdoc-es/reference/mhash/constants.xml Thu Dec 18 20:59:15 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <section id="mhash.constants"> &reftitle.constants; &extension.constants; Index: phpdoc-es/reference/mhash/functions/mhash-keygen-s2k.xml diff -u phpdoc-es/reference/mhash/functions/mhash-keygen-s2k.xml:1.1 phpdoc-es/reference/mhash/functions/mhash-keygen-s2k.xml:1.2 --- phpdoc-es/reference/mhash/functions/mhash-keygen-s2k.xml:1.1 Thu Nov 20 18:02:06 2003 +++ phpdoc-es/reference/mhash/functions/mhash-keygen-s2k.xml Thu Dec 18 20:59:17 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/mhash.xml, last change in rev 1.7 --> <refentry id="function.mhash-keygen-s2k"> <refnamediv> Index: phpdoc-es/reference/mime_magic/reference.xml diff -u phpdoc-es/reference/mime_magic/reference.xml:1.1 phpdoc-es/reference/mime_magic/reference.xml:1.2 --- phpdoc-es/reference/mime_magic/reference.xml:1.1 Thu Dec 11 19:17:02 2003 +++ phpdoc-es/reference/mime_magic/reference.xml Thu Dec 18 20:59:17 2003 @@ -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 --> <reference id="ref.mime-magic"> <title>Funciones Mimetype</title> <titleabbrev>Mimetype</titleabbrev> Index: phpdoc-es/reference/mime_magic/functions/mime-content-type.xml diff -u phpdoc-es/reference/mime_magic/functions/mime-content-type.xml:1.1 phpdoc-es/reference/mime_magic/functions/mime-content-type.xml:1.2 --- phpdoc-es/reference/mime_magic/functions/mime-content-type.xml:1.1 Thu Dec 11 19:17:04 2003 +++ phpdoc-es/reference/mime_magic/functions/mime-content-type.xml Thu Dec 18 20:59:18 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.3 Maintainer: lboshell Status: ready --> <refentry id="function.mime-content-type"> <refnamediv> <refname>mime_content_type</refname> @@ -19,6 +19,28 @@ devueltos en formato MIME, como <literal>text/plain</literal> o <literal>application/octet-stream</literal>. </para> + <para> + <example> + <title>Ejemplo de <function>mime_content_type</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +echo mime_content_type('php.gif') . "\n"; +echo mime_content_type('test.php'); +?> +]]> + </programlisting> + <para> + El anterior ejemplo producir&aacute; la salida: + </para> + <screen> +<![CDATA[ +image/gif +text/plain +]]> + </screen> + </example> + </para> </refsect1> </refentry> Index: phpdoc-es/reference/misc/functions/highlight-file.xml diff -u phpdoc-es/reference/misc/functions/highlight-file.xml:1.3 phpdoc-es/reference/misc/functions/highlight-file.xml:1.4 --- phpdoc-es/reference/misc/functions/highlight-file.xml:1.3 Mon Dec 15 23:43:33 2003 +++ phpdoc-es/reference/misc/functions/highlight-file.xml Thu Dec 18 20:59:19 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.11 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.13 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/misc.xml, last change in rev 1.22 --> <refentry id="function.highlight-file"> <refnamediv> @@ -97,7 +97,7 @@ "inclusion PHP</h1>"; } } - echo "<hr />Procesado: ". date("Y/M/d H:i:s", time()); + echo "<hr />Procesado: " . date("Y/M/d H:i:s", time()); ?> </BODY> </HTML> Index: phpdoc-es/reference/network/constants.xml diff -u phpdoc-es/reference/network/constants.xml:1.1 phpdoc-es/reference/network/constants.xml:1.2 --- phpdoc-es/reference/network/constants.xml:1.1 Fri Dec 5 01:00:12 2003 +++ phpdoc-es/reference/network/constants.xml Thu Dec 18 20:59:20 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <section id="network.constants"> &reftitle.constants; &extension.constants.core; Index: phpdoc-es/reference/network/functions/dns-get-record.xml diff -u phpdoc-es/reference/network/functions/dns-get-record.xml:1.2 phpdoc-es/reference/network/functions/dns-get-record.xml:1.3 --- phpdoc-es/reference/network/functions/dns-get-record.xml:1.2 Mon Dec 15 23:43:35 2003 +++ phpdoc-es/reference/network/functions/dns-get-record.xml Thu Dec 18 20:59:21 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.17 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.18 Maintainer: lboshell Status: ready --> <refentry id="function.dns-get-record"> <refnamediv> <refname>dns_get_record</refname> Index: phpdoc-es/reference/strings/functions/money-format.xml diff -u phpdoc-es/reference/strings/functions/money-format.xml:1.1 phpdoc-es/reference/strings/functions/money-format.xml:1.2 --- phpdoc-es/reference/strings/functions/money-format.xml:1.1 Thu Oct 30 09:54:24 2003 +++ phpdoc-es/reference/strings/functions/money-format.xml Thu Dec 18 20:59:23 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <refentry id="function.money-format"> <refnamediv> <refname>money_format</refname> @@ -244,12 +244,12 @@ // imprimamos el formato internacional para la localidad en_US setlocale(LC_MONETARY, 'en_US'); -echo money_format('%i', $numero)."\n"; +echo money_format('%i', $numero) . "\n"; // USD 1,234.56 // Formato nacional italiano con 2 decimales setlocale(LC_MONETARY, 'it_IT'); -echo money_format('%.2n', $numero)."\n"; +echo money_format('%.2n', $numero) . "\n"; // L. 1.234,56 // Uso de un numero negativo @@ -258,12 +258,12 @@ // Formato nacional de US, usando () para numeros negativos // y 10 digitos para la precision de derecha setlocale(LC_MONETARY, 'en_US'); -echo money_format('%(#10n', $numero)."\n"; +echo money_format('%(#10n', $numero) . "\n"; // ($ 1,234.57) // Un formato similar al anterior, agregando el uso de 2 digitos de // precision de derecha y '*' como caracter de relleno -echo money_format('%=*(#10.2n', $numero)."\n"; +echo money_format('%=*(#10.2n', $numero) . "\n"; // ($********1,234.57) // Justifiquemos a izquierda, con 14 posiciones de ancho, 8 digitos de @@ -271,14 +271,14 @@ // agrupamiento y usando el formato internacional de la localidad // de_DE. setlocale(LC_MONETARY, 'de_DE'); -echo money_format('%=*^-14#8.2i', 1234.56)."\n"; +echo money_format('%=*^-14#8.2i', 1234.56) . "\n"; // DEM 1234,56**** // Agreguemos un poco de informacion antes y despues de la especificacion // de conversion setlocale(LC_MONETARY, 'en_GB'); $fmt = 'El valor final es %i (despues de un descuento de 10%%)'; -echo money_format($fmt, 1234.56)."\n"; +echo money_format($fmt, 1234.56) . "\n"; // El valor final es GBP 1,234.56 (despues de un descuento de 10%) ?> Index: phpdoc-es/reference/var/functions/get-defined-vars.xml diff -u phpdoc-es/reference/var/functions/get-defined-vars.xml:1.1 phpdoc-es/reference/var/functions/get-defined-vars.xml:1.2 --- phpdoc-es/reference/var/functions/get-defined-vars.xml:1.1 Fri Oct 10 04:57:42 2003 +++ phpdoc-es/reference/var/functions/get-defined-vars.xml Thu Dec 18 20:59:24 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.34 --> <refentry id="function.get-defined-vars"> <refnamediv> @@ -25,7 +25,7 @@ <programlisting role="php"> <![CDATA[ <?php -$b = array(1,1,2,3,5,8); +$b = array(1, 1, 2, 3, 5, 8); $matriz = get_defined_vars(); Index: phpdoc-es/reference/var/functions/get-resource-type.xml diff -u phpdoc-es/reference/var/functions/get-resource-type.xml:1.1 phpdoc-es/reference/var/functions/get-resource-type.xml:1.2 --- phpdoc-es/reference/var/functions/get-resource-type.xml:1.1 Fri Oct 10 04:57:42 2003 +++ phpdoc-es/reference/var/functions/get-resource-type.xml Thu Dec 18 20:59:24 2003 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: lboshell Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: lboshell Status: ready --> <!-- splitted from ./en/functions/var.xml, last change in rev 1.75 --> <refentry id="function.get-resource-type"> <refnamediv> @@ -27,15 +27,15 @@ <?php // imprime: mysql link $c = mysql_connect(); -echo get_resource_type($c)."\n"; +echo get_resource_type($c) . "\n"; // imprime: file $da = fopen("foo", "w"); -echo get_resource_type($da)."\n"; +echo get_resource_type($da) . "\n"; // imprime: domxml document $doc = new_xmldoc("1.0"); -echo get_resource_type($doc->doc)."\n"; +echo get_resource_type($doc->doc) . "\n"; ?> ]]> </programlisting> Index: phpdoc-es/reference/stream/functions/stream-context-create.xml +++ phpdoc-es/reference/stream/functions/stream-context-create.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-context-create"> <refnamediv> <refname>stream_context_create</refname> <refpurpose>Crear un contexto de secuencia</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>resource</type><methodname>stream_context_create</methodname> <methodparam><type>array</type><parameter>opciones</parameter></methodparam> </methodsynopsis> <simpara> Crea y devuelve un contexto de secuencia con cualquier n&uacute;mero de opciones dadas en el conjunto <parameter>opciones</parameter>. </simpara> <simpara> Las <parameter>opciones</parameter> deben venir en una matriz asociativa de matrices asociativas en el formato <literal>$matriz['envoltura']['opcion'] = $valor</literal>. </simpara> <example> <title>Uso de <function>stream_context_create</function></title> <programlisting role="php"> <![CDATA[ <?php $opciones = array( 'http'=>array( 'method'=>"GET", 'header'=>"Accept-language: en\r\n" . "Cookie: foo=bar\r\n" ) ); $contexto = stream_context_create($opciones); /* Envia una peticion http a www.example.com con las cabeceras * adicionales mostradas anteriormente */ $da = fopen('http://www.example.com', 'r', false, $contexto); fpassthru($da); fclose($da); ?> ]]> </programlisting> </example> <simpara> Vea Tambi&eacute;n: <function>stream_context_set_option</function>, y el listado de envolturas soportadas con opciones de contexto (<xref linkend="wrappers"/>) </simpara> </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/stream/functions/stream-context-get-options.xml +++ phpdoc-es/reference/stream/functions/stream-context-get-options.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.2 Maintainer: lboshell Status: ready --> <refentry id="function.stream-context-get-options"> <refnamediv> <refname>stream_context_get_options</refname> <refpurpose>Recuperar las opciones para una secuencia/envoltura/contexto</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>array</type><methodname>stream_context_get_options</methodname> <methodparam><type>resource</type><parameter>secuencia|contexto</parameter></methodparam> </methodsynopsis> <simpara> Devuelve una matriz de opciones de la secuencia o contexto especificado. </simpara> </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/stream/functions/stream-context-set-option.xml +++ phpdoc-es/reference/stream/functions/stream-context-set-option.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.stream-context-set-option"> <refnamediv> <refname>stream_context_set_option</refname> <refpurpose>Establece una opci&oacute;n para una secuencia/envoltura/contexto</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>bool</type><methodname>stream_context_set_option</methodname> <methodparam><type>resource</type><parameter>contexto|secuencia</parameter></methodparam> <methodparam><type>string</type><parameter>envoltura</parameter></methodparam> <methodparam><type>string</type><parameter>opcion</parameter></methodparam> <methodparam><type>mixed</type><parameter>valor</parameter></methodparam> </methodsynopsis> <simpara> Establece una opci&oacute;n en el contexto especificado. <parameter>valor</parameter> recibe el valor de <parameter>opcion</parameter> para la <parameter>envoltura</parameter>. </simpara> </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/stream/functions/stream-context-set-params.xml +++ phpdoc-es/reference/stream/functions/stream-context-set-params.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: lboshell Status: ready --> <refentry id="function.stream-context-set-params"> <refnamediv> <refname>stream_context_set_params</refname> <refpurpose>Establecer par&aacute;metros para una secuencia/envoltura/contexto</refpurpose> </refnamediv> <refsect1> <title>Descripci&oacute;n</title> <methodsynopsis> <type>bool</type><methodname>stream_context_set_params</methodname> <methodparam><type>resource</type><parameter>secuencia|contexto</parameter></methodparam> <methodparam><type>array</type><parameter>parametros</parameter></methodparam> </methodsynopsis> <simpara> <parameter>parametros</parameter> debe ser una matriz asociativa de la estructura: <literal>$parametros['nombre_parametro'] = "valor_parametro";</literal>. </simpara> <table> <title>Par&aacute;metros</title> <tgroup cols="2"> <thead> <row> <entry>Par&aacute;metros</entry> <entry>Prop&oacute;sito</entry> </row> </thead> <tbody> <row> <entry><literal>notification</literal></entry> <entry> Nombre de la llamada de retorno definida por el usuario a ser llamada cuando una secuencia genere una notificaci&oacute;n. </entry> </row> </tbody> </tgroup> </table> </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 -->
« previous php.doc.es (#450) next »