svn: /phpdoc/es/trunk/reference/array/functions/ array-diff-uassoc.xml

From: Date: Sat, 13 Mar 2010 02:06:38 +0000
Subject: svn: /phpdoc/es/trunk/reference/array/functions/ array-diff-uassoc.xml
Groups: php.doc.es 
Request: Send a blank email to doc-es+get-2228@lists.php.net to get a copy of this message
jpberdejo Sat, 13 Mar 2010 02:06:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=296136 Log: Probando... Changed paths: U phpdoc/es/trunk/reference/array/functions/array-diff-uassoc.xml Modified: phpdoc/es/trunk/reference/array/functions/array-diff-uassoc.xml =================================================================== --- phpdoc/es/trunk/reference/array/functions/array-diff-uassoc.xml 2010-03-13 02:01:07 UTC (rev 296135) +++ phpdoc/es/trunk/reference/array/functions/array-diff-uassoc.xml 2010-03-13 02:06:38 UTC (rev 296136) @@ -4,7 +4,7 @@ <refentry xml:id="function.array-diff-uassoc" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>array_diff_uassoc</refname> - <refpurpose>Computes the difference of arrays with additional index check which is performed by a user supplied callback function</refpurpose> + <refpurpose>Calcula la diferencia de matrices con un chequeo adicional de índices que se realiza por una función de devolución de llamada suministrada por el usuario</refpurpose> </refnamediv> <refsect1 role="description"> @@ -17,13 +17,13 @@ <methodparam><type>callback</type><parameter>key_compare_func</parameter></methodparam> </methodsynopsis> <para> - Compares <parameter>array1</parameter> against <parameter>array2</parameter> and - returns the difference. Unlike <function>array_diff</function> the array - keys are used in the comparison. + Compara <parameter>array1</parameter> contra <parameter>array2</parameter> y + retorna la diferencia. A diferencia de <function>array_diff</function> la claves de la + matriz se utilizan en la comparación. </para> <para> - Unlike <function>array_diff_assoc</function> an user supplied callback - function is used for the indices comparison, not internal function. + A diferencia de <function>array_diff_assoc</function> una función de devolución de llamada + suministrada por el usuario se utiliza para la comparación de los índices, no una función interna. </para> </refsect1> @@ -36,7 +36,7 @@ <term><parameter>array1</parameter></term> <listitem> <para> - The array to compare from + La matriz a comparar </para> </listitem> </varlistentry> @@ -45,7 +45,7 @@ <term><parameter>array2</parameter></term> <listitem> <para> - An array to compare against + Una matriz contra la cual comparar </para> </listitem> </varlistentry> @@ -54,7 +54,7 @@ <term><parameter>...</parameter></term> <listitem> <para> - More arrays to compare against + Más matrices contra las cuales comparar </para> </listitem> </varlistentry> @@ -63,10 +63,10 @@ <term><parameter>key_compare_func</parameter></term> <listitem> <para> - <type>callback</type> function to use. - The callback function must return an integer less than, equal - to, or greater than zero if the first argument is considered to - be respectively less than, equal to, or greater than the second. + Función <type>callback</type> a usar. + La función de devolución de llamada debe retornar un entero menor, igual + o mayor que cero si el primer argumento se considera que es, + respectivamente, menor, igual o mayor que el segundo. </para> </listitem> </varlistentry> @@ -78,8 +78,8 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Returns an <type>array</type> containing all the entries from - <parameter>array1</parameter> that are not present in any of the other arrays. + Retorna un <type>array</type> conteniendo todas las entradas del + <parameter>array1</parameter> que no están presentes en ninguna de las otras matrices. </para> </refsect1> @@ -94,13 +94,13 @@ &reftitle.examples; <para> <example> - <title><function>array_diff_uassoc</function> example</title> + <title>Ejemplo de <function>array_diff_uassoc</function></title> <para> - The <literal>"a" =&gt; "green"</literal> - pair is present in both arrays and thus it is not in the output from the - function. Unlike this, the pair <literal>0 =&gt; "red"</literal> - is in the output because in the second argument <literal>"red"</literal> - has key which is <literal>1</literal>. + El par <literal>"a" =&gt; "green"</literal> + está presente en ambas matrices y por lo tanto no está en la salida de + la función. A diferencia de ésto, el par <literal>0 =&gt; "red"</literal> + está en la salida ya que en el segundo argumento <literal>"red"</literal> + tiene una clave que es <literal>1</literal>. </para> <programlisting role="php"> <![CDATA[ @@ -132,7 +132,7 @@ ]]> </screen> <simpara> - The equality of 2 indices is checked by the user supplied callback function. + La igualdad de 2 índices es chequeada por la función de devolución de llamada suministrada por el usuario. </simpara> </example> </para> @@ -142,9 +142,9 @@ &reftitle.notes; <note> <para> - This function only checks one dimension of a n-dimensional - array. Of course you can check deeper dimensions by using, for example, - <literal>array_diff_uassoc($array1[0], $array2[0], "key_compare_func");</literal>. + Esta función sólo comprueba una dimensión de una matriz n-dimensional. + Por supuesto, se pueden comprobar dimensiones más profundas mediante, + por ejemplo, <literal>array_diff_uassoc($array1[0], $array2[0], "key_compare_func");</literal>. </para> </note> </refsect1> @@ -189,3 +189,4 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> +

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