mirror of
https://github.com/php/doc-it.git
synced 2026-03-24 07:32:12 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@314534 c90b9560-bf6c-de11-be94-00142212c4b1
67 lines
2.1 KiB
XML
67 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- splitted from ./it/functions/array.xml, last change in rev 1.1 -->
|
|
<!-- last change to 'uasort' in en/ tree in rev 1.2 -->
|
|
<!-- EN-Revision: n/a Maintainer: cucinato Status: ready -->
|
|
<!-- OLD-Revision: 1.173/EN.1.2 -->
|
|
<refentry xml:id="function.uasort" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>uasort</refname>
|
|
<refpurpose>
|
|
Ordina un array mediante una funzione definita dall'utente e
|
|
mantiene le associazioni
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Descrizione</title>
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>uasort</methodname>
|
|
<methodparam><type>array</type><parameter>array</parameter></methodparam>
|
|
<methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
Questa funzione ordina un array in modo tale che le chiavi mantengano
|
|
la loro correlazione con gli elementi dell'array a cui sono
|
|
associate. Questo è utile quando si ordinano array associativi in cui
|
|
l'ordine degli elementi è importante. La funzione di comparazione
|
|
deve essere fornita dall'utente.
|
|
</para>
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
<note>
|
|
<para>
|
|
Vedere <function>usort</function> e
|
|
<function>uksort</function> per esempio di funzioni
|
|
di comparazione.
|
|
</para>
|
|
</note>
|
|
<para>
|
|
Vedere anche <function>usort</function>, <function>uksort</function>,
|
|
<function>sort</function>, <function>asort</function>,
|
|
<function>arsort</function>, <function>ksort</function>
|
|
e <function>rsort</function>.
|
|
</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
|
|
-->
|