cvs: phpdoc-hu /reference/array/functions compact.xml count.xml current.xml end.xml key.xml krsort.xml ksort.xml

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1171795470@cvsserver>
chappy		Sun Feb 18 10:44:30 2007 UTC

  Modified files:              
    /phpdoc-hu/reference/array/functions	compact.xml count.xml 
                                        	current.xml end.xml key.xml 
                                        	krsort.xml ksort.xml 
  Log:
  sync
chappy-20070218104430.txt (text/plain, 26.9 KB)
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/array/functions/compact.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc-hu/reference/array/functions/compact.xml
diff -u phpdoc-hu/reference/array/functions/compact.xml:1.4 phpdoc-hu/reference/array/functions/compact.xml:1.5
--- phpdoc-hu/reference/array/functions/compact.xml:1.4	Wed Aug  4 15:20:53 2004
+++ phpdoc-hu/reference/array/functions/compact.xml	Sun Feb 18 10:44:30 2007
@@ -1,14 +1,13 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
 <!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 -->
 <!-- last change to 'compact' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.7 Maintainer: gerzson Status: ready -->
+<!-- EN-Revision: 1.11 Maintainer: gerzson Status: ready -->
+<!-- CREDITS: chappy -->
 <!-- OLD-Revision: 1.173/EN.1.2 -->
  <refentry id="function.compact">
   <refnamediv>
    <refname>compact</refname>
-   <refpurpose>
-     Tömbbe tömöríti a változókat és értékeiket
-    </refpurpose>
+   <refpurpose>Tömbbe tömöríti a változókat és értékeiket</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
@@ -33,6 +32,16 @@
    <para>
     Az a sztring, amelynek megfelelõ változó definiálatlan, ki lesz hagyva.
    </para>
+  <note>
+   <title>"Megvagy!"</title>
+   <para>
+    Mivel <link linkend="language.variables.variable">változó
+    változók</link> nem használhatóak a PHP
+    <link linkend="language.variables.superglobals">Szuperglobális
+    tömbjeivel</link> a függvényeken belül, a Szuperglobális tömbök nem adhatók át a 
+    <function>compact</function> függvénynek.
+   </para>
+  </note>
    <para>
     <example>
      <title><function>compact</function> példa</title>
@@ -46,12 +55,11 @@
 $helyrajz = array("varos", "megye");
 
 $eredmeny = compact("esemeny", "semmi_ilyen_valtozo_nincs", $helyrajz);
+print_r($eredmeny);
 ?>
 ]]>
      </programlisting>
-     <para>
-      A <varname>$eredmeny</varname> értéke:
-     </para>
+     &example.outputs;
      <screen role="php">
 <![CDATA[
 Array
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/array/functions/count.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-hu/reference/array/functions/count.xml
diff -u phpdoc-hu/reference/array/functions/count.xml:1.7 phpdoc-hu/reference/array/functions/count.xml:1.8
--- phpdoc-hu/reference/array/functions/count.xml:1.7	Sat Apr  2 11:22:16 2005
+++ phpdoc-hu/reference/array/functions/count.xml	Sun Feb 18 10:44:30 2007
@@ -1,67 +1,67 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.17 Maintainer: cece Status: ready -->
-<!-- CREDITS: gerzson -->
- <refentry id="function.count">
-  <refnamediv>
-   <refname>count</refname>
-   <refpurpose>Megszámolja egy tömb elemeit, vagy egy objektum tulajdonságelemeit</refpurpose>
-  </refnamediv>
-  <refsect1>
-   <title>Leírás</title>
-   <methodsynopsis>
-    <type>int</type><methodname>count</methodname>
-    <methodparam><type>mixed</type><parameter>var</parameter></methodparam>
-    <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam>
-   </methodsynopsis>
-   <para>
-    Visszaadja a <parameter>var</parameter> változó elemeinek számát,
-    amely általában <type>array</type>(tömb) típusú, mivel az objektumokon
-    kívül bármi másnak csak egy eleme lehet.
-   </para>
-   <para>
-    Obkektumok vizsgálata esetén, ha az <link linkend="ref.spl">SPL</link>
-    kiterjesztés telepítve van, lehetõvé válik a <function>count</function> 
-    mûködésének befolyásolása. Ezt a <literal>Countable</literal> interfész
-    egyetlen, <function>count</function> nevû eljárásának megadásával
-    tudjuk megtenni. Ekkor ennek a függvénynek az eredménye lesz a
-    <function>count</function> visszaadott értéke.
-   </para>
-   <para>
-    Ha a <parameter>var</parameter> paraméter nem tömb vagy egy
-    <literal>Countable</literal> interfésszel ellátott objektum, 
-    akkor 1-et ad vissza. Egyetlen kivétel a <literal>count(&null;)</literal>,
-    ez esetben <literal>0</literal> lesz a visszatérési érték.
-   </para>
-   <note>
-    <simpara>
-     A <parameter>mode</parameter> paraméter a PHP 4.2.0 változatától
-     kezdve használható.
-    </simpara>
-   </note>
-   <para>
-    Ha a nem kötelezõen megadandó <parameter>mode</parameter> paraméternek
-    <constant>COUNT_RECURSIVE</constant> értéket (vagy 1-et) adunk meg,
-    a függvény rekurzívan fogja megszámolni a tömbelemeket. Ilyen
-    rekurzív megszámlálásnak például többdimenziós tömbök esetén van
-    haszna. A <parameter>mode</parameter> paraméter alapértelmezett 
-    értéke <literal>0</literal>. A <function>count</function> nem
-    észleli az esetleges végtelen ciklusokat kiváltó helyzeteket.
-   </para>
-   <caution>
-    <para>
-     A <function>count</function> 0-val térhet vissza definiálatlan
-     változók esetén és üres tömbök esetén is. Az <function>isset</function>
-     segítségével lehet megvizsgálni, hogy a változó be van-e állítva.
-    </para>
-   </caution>
-   <para>
-    Olvasd át a kézikönyv <link linkend="language.types.array">Tömbök</link>
-    c. fejezetét a PHP-ban megvalósított tömbök részletes magyarazátáért.
-   </para>
-   <para>
-    <example>
-     <title><function>count</function> példa</title>
-     <programlisting role="php">
+<!-- EN-Revision: 1.18 Maintainer: cece Status: ready -->
+<!-- CREDITS: gerzson, chappy -->
+<refentry id="function.count">
+ <refnamediv>
+  <refname>count</refname>
+  <refpurpose>Megszámolja egy tömb elemeit, vagy egy objektum tulajdonságelemeit</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>Leírás</title>
+  <methodsynopsis>
+   <type>int</type><methodname>count</methodname>
+   <methodparam><type>mixed</type><parameter>var</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Visszaadja a <parameter>var</parameter> változó elemeinek számát,
+   amely általában <type>array</type>(tömb) típusú, mivel az objektumokon
+   kívül bármi másnak csak egy eleme lehet.
+  </para>
+  <para>
+   Obkektumok vizsgálata esetén, ha az <link linkend="ref.spl">SPL</link>
+   kiterjesztés telepítve van, lehetõvé válik a <function>count</function> 
+   mûködésének befolyásolása. Ezt a <literal>Countable</literal> interfész
+   egyetlen, <function>count</function> nevû eljárásának megadásával
+   tudjuk megtenni. Ekkor ennek a függvénynek az eredménye lesz a
+   <function>count</function> visszaadott értéke.
+  </para>
+  <para>
+   Ha a <parameter>var</parameter> paraméter nem tömb vagy egy
+   <literal>Countable</literal> interfésszel ellátott objektum, 
+   akkor 1-et ad vissza. Egyetlen kivétel a <literal>count(&null;)</literal>,
+   ez esetben <literal>0</literal> lesz a visszatérési érték.
+  </para>
+  <note>
+   <simpara>
+    A <parameter>mode</parameter> paraméter a PHP 4.2.0 változatától
+    kezdve használható.
+   </simpara>
+  </note>
+  <para>
+   Ha a nem kötelezõen megadandó <parameter>mode</parameter> paraméternek
+   <constant>COUNT_RECURSIVE</constant> értéket (vagy 1-et) adunk meg,
+   a függvény rekurzívan fogja megszámolni a tömbelemeket. Ilyen
+   rekurzív megszámlálásnak például többdimenziós tömbök esetén van
+   haszna. A <parameter>mode</parameter> paraméter alapértelmezett 
+   értéke <literal>0</literal>. A <function>count</function> nem
+   észleli az esetleges végtelen ciklusokat kiváltó helyzeteket.
+  </para>
+  <caution>
+   <para>
+    A <function>count</function> 0-val térhet vissza definiálatlan
+    változók esetén és üres tömbök esetén is. Az <function>isset</function>
+    segítségével lehet megvizsgálni, hogy a változó be van-e állítva.
+   </para>
+  </caution>
+  <para>
+   Olvasd át a kézikönyv <link linkend="language.types.array">Tömbök</link>
+   c. fejezetét a PHP-ban megvalósított tömbök részletes magyarazátáért.
+  </para>
+  <para>
+   <example>
+    <title><function>count</function> példa</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $a[0] = 1;
@@ -83,13 +83,13 @@
 // $eredmeny == 1
 ?>
 ]]>
-     </programlisting>
-    </example>
-   </para>
-   <para>
-    <example>
-     <title>Példa a <function>count</function> rekurzív használatára ((PHP &gt;= 4.2.0))</title>
-     <programlisting role="php">
+    </programlisting>
+   </example>
+  </para>
+  <para>
+   <example>
+    <title>Példa a <function>count</function> rekurzív használatára ((PHP &gt;= 4.2.0))</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $etelek = array( 'gyümölcsök' => array('szilva', 'barack', 'alma'),
@@ -103,17 +103,17 @@
 
 ?>
 ]]>
-     </programlisting>
-    </example>
+    </programlisting>
+   </example>
+  </para>
+  <para>
+   Lásd még:
+   <function>is_array</function>,
+   <function>isset</function> és
+   <function>strlen</function>.
    </para>
-   <para>
-    Lásd még:
-    <function>is_array</function>,
-    <function>isset</function> és
-    <function>strlen</function>.
-    </para>
-  </refsect1>
- </refentry>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/array/functions/current.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-hu/reference/array/functions/current.xml
diff -u phpdoc-hu/reference/array/functions/current.xml:1.6 phpdoc-hu/reference/array/functions/current.xml:1.7
--- phpdoc-hu/reference/array/functions/current.xml:1.6	Tue Nov 30 00:59:10 2004
+++ phpdoc-hu/reference/array/functions/current.xml	Sun Feb 18 10:44:30 2007
@@ -1,44 +1,46 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
 <!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 -->
 <!-- last change to 'current' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.9 Maintainer: gerzson Status: ready -->
+<!-- EN-Revision: 1.12 Maintainer: gerzson Status: ready -->
+<!-- CREDITS: chappy -->
 <!-- OLD-Revision: 1.173/EN.1.2 -->
- <refentry id="function.current">
-  <refnamediv>
-   <refname>current</refname>
-   <refpurpose>visszaadja egy tömb aktuális elemét</refpurpose>
-  </refnamediv>
-  <refsect1>
-   <title>Leírás</title>
-    <methodsynopsis>
-     <type>mixed</type><methodname>current</methodname>
-     <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
-    </methodsynopsis>
-   <para>
-    Minden tömbnek van egy ún. belsõ mutatója, amely a jelenlegi
-    elemre mutat. A tömbbe beszúrt elsõ elemre van inicializálva.
-   </para>
-   <para>
-    A <function>current</function> függvény egyszerûen visszaadja
-    a belsõ mutató által megjelölt tömbelem értékét. A mutató soha nem
-    mozdul el errõl az elemrõl. Ha a belsõ mutató az elemlista vége
-    mögé mutat, akkor <function>current</function> függvény &false;-ot ad
-    vissza.
-    <warning>
-     <para>
-      Ha a tömb üres elemeket tartalmaz (0 vagy "" - üres string), akkor ez a
-      függvény az ilyen elemeknél &false;-ot ad vissza. Ez lehetetlenné teszi
-      annak megállapítását a <function>current</function> függvénnyel, hogy
-      valóban a lista végére került-e a mutató. Az <function>each</function>
-      függvénnyel helyesen végig lehet lépkedni egy üres elemeket tartalmazó
-      tömbön.
-     </para>
-    </warning>
-   </para>
-   <para>
-    <example>
-     <title>Example use of <function>current</function> and friends</title>
-     <programlisting role="php">
+<refentry id="function.current">
+ <refnamediv>
+  <refname>current</refname>
+  <refpurpose>visszaadja egy tömb aktuális elemét</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>Leírás</title>
+   <methodsynopsis>
+    <type>mixed</type><methodname>current</methodname>
+    <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+   </methodsynopsis>
+  <para>
+   Minden tömbnek van egy ún. belsõ mutatója, amely a jelenlegi
+   elemre mutat. A tömbbe beszúrt elsõ elemre van inicializálva.
+  </para>
+  <para>
+   A <function>current</function> függvény egyszerûen visszaadja
+   a belsõ mutató által megjelölt tömbelem értékét. A mutató soha nem
+   mozdul el errõl az elemrõl. Ha a belsõ mutató az elemlista vége
+   mögé mutat, akkor <function>current</function> függvény &false;-ot ad
+   vissza.
+  </para>
+
+ &return.falseproblem;
+
+ <note>
+  <simpara>
+   Nem leszel képes arra, hogy különbséget tegyél a tömb vége és a
+   logikai (<type>boolean</type>) típusú &false; elem között. Ahhoz, hogy helyesen pásztázt azt a 
+   tömböt, ami &false; értékeket is tartalmazhaz, lásd az <function>each</function>
+   függvényt.
+  </simpara>
+ </note>
+  <para>
+   <example>
+    <title>Példa a <function>current</function> és társai használatára</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $transport = array('foot', 'bike', 'car', 'plane');
@@ -50,16 +52,16 @@
 $mode = current($transport); // $mode = 'plane';
 ?>
 ]]>
-     </programlisting>
-    </example>
+    </programlisting>
+   </example>
+  </para>
+  <para>
+   Lásd még: <function>end</function>, <function>key</function>,
+   <function>next</function>, <function>prev</function>,
+   <function>reset</function> és <function>each</function>!
    </para>
-   <para>
-    Lásd még: <function>end</function>, <function>key</function>,
-    <function>next</function>, <function>prev</function> és
-    <function>reset</function>!
-    </para>
-  </refsect1>
- </refentry>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/array/functions/end.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-hu/reference/array/functions/end.xml
diff -u phpdoc-hu/reference/array/functions/end.xml:1.6 phpdoc-hu/reference/array/functions/end.xml:1.7
--- phpdoc-hu/reference/array/functions/end.xml:1.6	Tue Nov 30 01:03:42 2004
+++ phpdoc-hu/reference/array/functions/end.xml	Sun Feb 18 10:44:30 2007
@@ -1,51 +1,49 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
 <!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 -->
 <!-- last change to 'end' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.12 Maintainer: cece Status: ready -->
-<!-- CREDITS: gerzson -->
+<!-- EN-Revision: 1.13 Maintainer: cece Status: ready -->
+<!-- CREDITS: gerzson, chappy -->
 <!-- OLD-Revision: 1.173/EN.1.2 -->
- <refentry id="function.end">
-  <refnamediv>
-   <refname>end</refname>
-   <refpurpose>
-    Az utolsó elemre állítja a tömb belsõ mutatóját
-   </refpurpose>
-  </refnamediv>
-  <refsect1>
-   <title>Leírás</title>
-    <methodsynopsis>
-     <type>mixed</type><methodname>end</methodname>
-     <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
-    </methodsynopsis>
+<refentry id="function.end">
+ <refnamediv>
+  <refname>end</refname>
+  <refpurpose>Az utolsó elemre állítja a tömb belsõ mutatóját</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>Leírás</title>
+   <methodsynopsis>
+    <type>mixed</type><methodname>end</methodname>
+    <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+   </methodsynopsis>
+  <para>
+    Az <function>end</function> az <parameter>array</parameter> tömb
+    belsõ mutatóját annak utolsó elemére állítja, valamit ezen elem
+    értékét visszaadja.
+  </para>
    <para>
-     Az <function>end</function> az <parameter>array</parameter> tömb
-     belsõ mutatóját annak utolsó elemére állítja, valamit ezen elem
-     értékét visszaadja.
-   </para>
-    <para>
-     <example>
-      <title>Egyszerû példa az <function>end</function> használatára</title>
+    <example>
+     <title>Egyszerû példa az <function>end</function> használatára</title>
 
-      <programlisting role="php">
+     <programlisting role="php">
 <![CDATA[
 <?php
 $gyumolcsok = array('alma', 'banán', 'áfonya');
 print end($gyumolcsok); // áfonya
 ?>
 ]]>
-      </programlisting>
-     </example>
+     </programlisting>
+    </example>
+  </para>
+  <para>
+    Lásd még: 
+    <function>current</function>,
+    <function>each</function>,
+    <function>prev</function>,
+    <function>next</function> és
+    <function>reset</function>.
    </para>
-   <para>
-     Lásd még: 
-     <function>current</function>,
-     <function>each</function>,
-     <function>prev</function>,
-     <function>next</function> és
-     <function>reset</function>.
-    </para>
-  </refsect1>
- </refentry>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/array/functions/key.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc-hu/reference/array/functions/key.xml
diff -u phpdoc-hu/reference/array/functions/key.xml:1.7 phpdoc-hu/reference/array/functions/key.xml:1.8
--- phpdoc-hu/reference/array/functions/key.xml:1.7	Tue Nov 30 01:04:34 2004
+++ phpdoc-hu/reference/array/functions/key.xml	Sun Feb 18 10:44:30 2007
@@ -1,29 +1,30 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
 <!-- splitted from ./hu/functions/array.xml, last change in rev 1.3 -->
 <!-- last change to 'key' in en/ tree in rev 1.2 -->
-<!-- EN-Revision: 1.9 Maintainer: gerzson Status: ready -->
+<!-- EN-Revision: 1.10 Maintainer: gerzson Status: ready -->
+<!-- CREDITS: chappy -->
 <!-- OLD-Revision: 1.173/EN.1.2 -->
- <refentry id="function.key">
-  <refnamediv>
-   <refname>key</refname>
-   <refpurpose>
-     asszociatív tömb pillanatnyilag kiválasztott kulcsát adja vissza
-    </refpurpose>
-  </refnamediv>
-  <refsect1>
-   <title>Leírás</title>
-    <methodsynopsis>
-     <type>mixed</type><methodname>key</methodname>
-     <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
-    </methodsynopsis>
-   <para>
-    A <function>key</function> a belsõ tömbmutató által pillanatnyilag
-    kijelölt elem kulcsával tér vissza.
-   </para>
-   <para>
-    <example>
-     <title><function>key</function> példa</title>
-     <programlisting role="php">
+<refentry id="function.key">
+ <refnamediv>
+  <refname>key</refname>
+  <refpurpose>
+    asszociatív tömb pillanatnyilag kiválasztott kulcsát adja vissza
+   </refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>Leírás</title>
+   <methodsynopsis>
+    <type>mixed</type><methodname>key</methodname>
+    <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+   </methodsynopsis>
+  <para>
+   A <function>key</function> a belsõ tömbmutató által pillanatnyilag
+   kijelölt elem kulcsával tér vissza.
+  </para>
+  <para>
+   <example>
+    <title><function>key</function> példa</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $array = array(
@@ -43,14 +44,14 @@
 }
 ?>
 ]]>
-     </programlisting>
-    </example>
-   </para>
-   <para>
-    Lásd még: <function>current</function> és <function>next</function>!
-   </para>
-  </refsect1>
- </refentry>
+    </programlisting>
+   </example>
+  </para>
+  <para>
+   Lásd még: <function>current</function> és <function>next</function>!
+  </para>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/array/functions/krsort.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-hu/reference/array/functions/krsort.xml
diff -u phpdoc-hu/reference/array/functions/krsort.xml:1.6 phpdoc-hu/reference/array/functions/krsort.xml:1.7
--- phpdoc-hu/reference/array/functions/krsort.xml:1.6	Sat Jun 10 12:59:07 2006
+++ phpdoc-hu/reference/array/functions/krsort.xml	Sun Feb 18 10:44:30 2007
@@ -1,30 +1,30 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.12 Maintainer: cece Status: ready -->
-<!-- CREDITS: gerzson -->
- <refentry id="function.krsort">
-  <refnamediv>
-   <refname>krsort</refname>
-   <refpurpose>Kulcsok alapján fordított sorrendbe rendez egy tömböt</refpurpose>
-  </refnamediv>
-  <refsect1>
-   <title>Leírás</title>
-    <methodsynopsis>
-     <type>bool</type><methodname>krsort</methodname>
-     <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
-     <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam>
-    </methodsynopsis>
-   <para>
-    Ez a függvény úgy rendezi az <parameter>array</parameter> tömböt a kulcsai
-    alapján, hogy az indexek megtartják kapcsolatukat a hozzájuk rendelt tömb
-    elemeivel. Fõként asszociatív tömbök rendezéséhez használatos.
-   </para>
-   <para>
-    &return.success;
-   </para>
-   <para>
-    <example>
-     <title><function>krsort</function> példa</title>
-     <programlisting role="php">
+<!-- EN-Revision: 1.13 Maintainer: cece Status: ready -->
+<!-- CREDITS: gerzson, chappy -->
+<refentry id="function.krsort">
+ <refnamediv>
+  <refname>krsort</refname>
+  <refpurpose>Kulcsok alapján fordított sorrendbe rendez egy tömböt</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>Leírás</title>
+   <methodsynopsis>
+    <type>bool</type><methodname>krsort</methodname>
+    <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+    <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam>
+   </methodsynopsis>
+  <para>
+   Ez a függvény úgy rendezi az <parameter>array</parameter> tömböt a kulcsai
+   alapján, hogy az indexek megtartják kapcsolatukat a hozzájuk rendelt tömb
+   elemeivel. Fõként asszociatív tömbök rendezéséhez használatos.
+  </para>
+  <para>
+   &return.success;
+  </para>
+  <para>
+   <example>
+    <title><function>krsort</function> példa</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $gyumolcsok = array ("d"=>"citrom", "a"=>"narancs", "b"=>"banán", "c"=>"alma");
@@ -35,30 +35,30 @@
 }
 ?>
 ]]>
-     </programlisting>
-     &example.outputs;
-    <screen>
+    </programlisting>
+    &example.outputs;
+   <screen>
 <![CDATA[
 d = citrom
 c = alma
 b = banán
 a = narancs
 ]]>
-     </screen>
-    </example>
-   </para>
-   <para>
-    A rendezést befolyásolja a <parameter>sort_flags</parameter> paraméter,
-    részletesebben lásd a <function>sort</function> függvénynél!
-   </para>
-   <simpara>
-    Lásd még: <function>asort</function>, <function>arsort</function>,
-    <function>ksort</function>
-    <function>sort</function>,
-    <function>natsort</function> és <function>rsort</function>!
-   </simpara>
-  </refsect1>
- </refentry>
+    </screen>
+   </example>
+  </para>
+  <para>
+   A rendezést befolyásolja a <parameter>sort_flags</parameter> paraméter,
+   részletesebben lásd a <function>sort</function> függvénynél!
+  </para>
+  <simpara>
+   Lásd még: <function>asort</function>, <function>arsort</function>,
+   <function>ksort</function>
+   <function>sort</function>,
+   <function>natsort</function> és <function>rsort</function>!
+  </simpara>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/array/functions/ksort.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc-hu/reference/array/functions/ksort.xml
diff -u phpdoc-hu/reference/array/functions/ksort.xml:1.6 phpdoc-hu/reference/array/functions/ksort.xml:1.7
--- phpdoc-hu/reference/array/functions/ksort.xml:1.6	Sat Jun 10 12:57:47 2006
+++ phpdoc-hu/reference/array/functions/ksort.xml	Sun Feb 18 10:44:30 2007
@@ -1,30 +1,30 @@
 <?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.12 Maintainer: cece Status: ready -->
-<!-- CREDITS: gerzson -->
- <refentry id="function.ksort">
-  <refnamediv>
-   <refname>ksort</refname>
-   <refpurpose>Kulcsok alapján rendezi a tömböt</refpurpose>
-  </refnamediv>
-  <refsect1>
-   <title>Leírás</title>
-    <methodsynopsis>
-     <type>bool</type><methodname>ksort</methodname>
-     <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
-     <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam>
-    </methodsynopsis>
-   <para>
-    Ez a függvény úgy rendezi az <parameter>array</parameter> tömböt a kulcsai
-    alapján, hogy az indexek megtartják kapcsolatukat a hozzájuk rendelt tömb
-    elemeivel. Fõként asszociatív tömbök rendezéséhez használatos.
-   </para>
-   <para>
-    &return.success;
-   </para>
-   <para>
-    <example>
-     <title><function>ksort</function> példa</title>
-     <programlisting role="php">
+<!-- EN-Revision: 1.13 Maintainer: cece Status: ready -->
+<!-- CREDITS: gerzson, chappy -->
+<refentry id="function.ksort">
+ <refnamediv>
+  <refname>ksort</refname>
+  <refpurpose>Kulcsok alapján rendezi a tömböt</refpurpose>
+ </refnamediv>
+ <refsect1>
+  <title>Leírás</title>
+   <methodsynopsis>
+    <type>bool</type><methodname>ksort</methodname>
+    <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
+    <methodparam choice="opt"><type>int</type><parameter>sort_flags</parameter></methodparam>
+   </methodsynopsis>
+  <para>
+   Ez a függvény úgy rendezi az <parameter>array</parameter> tömböt a kulcsai
+   alapján, hogy az indexek megtartják kapcsolatukat a hozzájuk rendelt tömb
+   elemeivel. Fõként asszociatív tömbök rendezéséhez használatos.
+  </para>
+  <para>
+   &return.success;
+  </para>
+  <para>
+   <example>
+    <title><function>ksort</function> példa</title>
+    <programlisting role="php">
 <![CDATA[
 <?php
 $gyumolcsok = array("d"=>"citrom", "a"=>"narancs", "b"=>"banán", "c"=>"alma");
@@ -35,39 +35,39 @@
 }
 ?>
 ]]>
-     </programlisting>
-     &example.outputs;
-     <screen>
+    </programlisting>
+    &example.outputs;
+    <screen>
 <![CDATA[
 a = narancs
 b = banán
 c = alma
 d = citrom
 ]]>
-     </screen>
-    </example>
-   </para>
+    </screen>
+   </example>
+  </para>
+  <para>
+   A rendezést befolyásolja a <parameter>sort_flags</parameter> paraméter,
+   részletesebben lásd a <function>sort</function> függvénynél!
+  </para>
+  <simpara>
+   Lásd még:
+   <function>asort</function>,
+   <function>arsort</function>,
+   <function>krsort</function>,
+   <function>uksort</function>,
+   <function>sort</function>,
+   <function>natsort</function> és
+   <function>rsort</function>.
+  </simpara>
+  <note>
    <para>
-    A rendezést befolyásolja a <parameter>sort_flags</parameter> paraméter,
-    részletesebben lásd a <function>sort</function> függvénynél!
+    A második paraméter PHP 4-ben használható.
    </para>
-   <simpara>
-    Lásd még:
-    <function>asort</function>,
-    <function>arsort</function>,
-    <function>krsort</function>,
-    <function>uksort</function>,
-    <function>sort</function>,
-    <function>natsort</function> és
-    <function>rsort</function>.
-   </simpara>
-   <note>
-    <para>
-     A második paraméter PHP 4-ben használható.
-    </para>
-   </note>
-  </refsect1>
- </refentry>
+  </note>
+ </refsect1>
+</refentry>
 
 <!-- Keep this comment at the end of the file
 Local variables:
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.