cvs: phpdoc-ru /reference/array/functions uasort.xml

From: Date: Tue, 19 Apr 2005 16:54:05 +0000
Subject: cvs: phpdoc-ru /reference/array/functions uasort.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-665@lists.php.net to get a copy of this message
sveta Tue Apr 19 12:54:05 2005 EDT Added files: /phpdoc-ru/reference/array/functions uasort.xml Log: new translation http://cvs.php.net/co.php/phpdoc-ru/reference/array/functions/uasort.xml?r=1.1&p=1 Index: phpdoc-ru/reference/array/functions/uasort.xml +++ phpdoc-ru/reference/array/functions/uasort.xml <?xml version="1.0" encoding="utf-8"?> <!-- EN-Revision: 1.8 Maintainer: sveta Status: ready --> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/array.xml, last change in rev 1.2 --> <refentry id="function.uasort"> <refnamediv> <refname>uasort</refname> <refpurpose> Отсортировать массив, используя пользовательскую функцию для сравнения элементов с сохранением ключей </refpurpose> </refnamediv> <refsect1> <title>Описание</title> <methodsynopsis> <type>bool</type><methodname>uasort</methodname> <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam> <methodparam><type>callback</type><parameter>cmp_function</parameter></methodparam> </methodsynopsis> <para> Функция сортирует массив таким образом, что его индексы сохраняют отношения с элементами, с которыми ранее были ассоциированы. Это особенно полезно при сортировке ассоциативных массивов, актуальный порядок элементов которых значим. Для сравнения используется функция, определённая пользователем. </para> <para> &return.success; </para> <note> <para> Пожалуйста, смотрите примеры пользовательских функций в описании <function>usort</function> и <function>uksort</function>. </para> </note> <para> См. также <function>usort</function>, <function>uksort</function>, <function>sort</function>, <function>asort</function>, <function>arsort</function>, <function>ksort</function> и <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:"../../../../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.ru (#665) next »