cvs: phpdoc /hu/language constants.xml control-structures.xml expressions.xml functions.xml oop.xml operators.xml references.xml types.xml

From: Date: Tue, 29 Jan 2002 18:06:24 +0000
Subject: cvs: phpdoc /hu/language constants.xml control-structures.xml expressions.xml functions.xml oop.xml operators.xml references.xml types.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969341707@lists.php.net to get a copy of this message
gerzson Tue Jan 29 13:06:24 2002 EDT Modified files: /phpdoc/hu/language constants.xml control-structures.xml expressions.xml functions.xml oop.xml operators.xml references.xml types.xml Log: change maintainer cvs account in Revision commment

Index: phpdoc/hu/language/constants.xml diff -u phpdoc/hu/language/constants.xml:1.12 phpdoc/hu/language/constants.xml:1.13 --- phpdoc/hu/language/constants.xml:1.12 Sat Dec 29 18:57:12 2001 +++ phpdoc/hu/language/constants.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.23 Maintainer: goba Status: ready --> -<!-- CREDITS: kgergely,pgerzson --> +<!-- CREDITS: kgergely,gerzson --> <chapter id="language.constants"> <title>Konstansok</title> Index: phpdoc/hu/language/control-structures.xml diff -u phpdoc/hu/language/control-structures.xml:1.15 phpdoc/hu/language/control-structures.xml:1.16 --- phpdoc/hu/language/control-structures.xml:1.15 Sat Dec 29 18:57:12 2001 +++ phpdoc/hu/language/control-structures.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.48 Maintainer: goba Status: ready --> -<!-- CREDITS: kgergely,pgerzson --> +<!-- CREDITS: kgergely,gerzson --> <chapter id="control-structures"> <title>Vezérlési szerkezetek</title> Index: phpdoc/hu/language/expressions.xml diff -u phpdoc/hu/language/expressions.xml:1.13 phpdoc/hu/language/expressions.xml:1.14 --- phpdoc/hu/language/expressions.xml:1.13 Sat Dec 29 18:57:12 2001 +++ phpdoc/hu/language/expressions.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.19 Maintainer: goba Status: ready --> -<!-- CREDITS: kgergely,pgerzson --> +<!-- CREDITS: kgergely,gerzson --> <chapter id="language.expressions"> <title>Kifejezések</title> Index: phpdoc/hu/language/functions.xml diff -u phpdoc/hu/language/functions.xml:1.14 phpdoc/hu/language/functions.xml:1.15 --- phpdoc/hu/language/functions.xml:1.14 Sat Dec 29 18:57:12 2001 +++ phpdoc/hu/language/functions.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.20 Maintainer: goba Status: ready --> -<!-- CREDITS: kgergely, pgerzson --> +<!-- CREDITS: kgergely,gerzson --> <chapter id="functions"> <title>Függvények</title> Index: phpdoc/hu/language/oop.xml diff -u phpdoc/hu/language/oop.xml:1.10 phpdoc/hu/language/oop.xml:1.11 --- phpdoc/hu/language/oop.xml:1.10 Wed Jan 2 08:48:29 2002 +++ phpdoc/hu/language/oop.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.32 Maintainer: goba Status: ready --> -<!-- CREDITS: pgerzson --> +<!-- CREDITS: gerzson --> <chapter id="language.oop"> <title>Osztályok, objektumok</title> Index: phpdoc/hu/language/operators.xml diff -u phpdoc/hu/language/operators.xml:1.15 phpdoc/hu/language/operators.xml:1.16 --- phpdoc/hu/language/operators.xml:1.15 Sat Dec 29 18:57:12 2001 +++ phpdoc/hu/language/operators.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.31 Maintainer: goba Status: ready --> -<!-- CREDITS: kgergely,pgerzson --> +<!-- CREDITS: kgergely,gerzson --> <chapter id="language.operators"> <title>Operátorok</title> Index: phpdoc/hu/language/references.xml diff -u phpdoc/hu/language/references.xml:1.12 phpdoc/hu/language/references.xml:1.13 --- phpdoc/hu/language/references.xml:1.12 Sat Dec 29 18:57:12 2001 +++ phpdoc/hu/language/references.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.22 Maintainer: goba Status: ready --> -<!-- CREDITS: pgerzson --> +<!-- CREDITS: gerzson --> <chapter id="language.references"> <title>Referenciák</title> Index: phpdoc/hu/language/types.xml diff -u phpdoc/hu/language/types.xml:1.18 phpdoc/hu/language/types.xml:1.19 --- phpdoc/hu/language/types.xml:1.18 Sat Dec 29 02:20:08 2001 +++ phpdoc/hu/language/types.xml Tue Jan 29 13:06:24 2002 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.69 Maintainer: goba Status: ready --> -<!-- CREDITS: pgerzson --> +<!-- EN-Revision: 1.70 Maintainer: goba Status: ready --> +<!-- CREDITS: gerzson --> <chapter id="language.types"> <title>Típusok</title> @@ -166,12 +166,12 @@ <informalexample> <programlisting role="php"> <![CDATA[ -if ($akcio == "verzio_kiirasa") { // a == <link linkend="language.operators">operátor</link> <type>boolean</type> értékkel tér vissza +if ($akcio == "verzio_kiirasa") { // a == operátor boolean értékkel tér vissza echo "Ez az 1.23-as változat"; } // ez nem szükséges -if ($elvalaszto_kiirasa == true) { +if ($elvalaszto_kiirasa == TRUE) { echo "<hr>\n"; } @@ -796,11 +796,10 @@ <![CDATA[ $gyumolcsok = array( 'eper' => 'piros' , 'alma' => 'zöld' ); echo "Az alma $gyumolcsok[alma]."; // ez másképpen használandó -karaktersorozatokon kívül. Lásd az <link -linkend="language.types.array.foo-bar"><literal>$ize[valami]</literal> karakterláncon kívüli problémáját</link> +karaktersorozatokon kívül. Lásd az $ize[valami] karakterláncon kívüli problémáját echo "A négyzet $negyzet->szelesseg méter széles."; echo "A négyzet $negyzet->szelesseg00 centiméter széles."; // nem mûködik - // a megoldás érdekében lásd a <link linkend="language.types.string.parsing.complex">komplex szintaxist</link>. + // a megoldás érdekében lásd a komplex szintaxis szakaszt! ]]> </programlisting> </informalexample> @@ -836,9 +835,10 @@ echo "Ez {$oriasi}"; // mûködik, kiírja, hogy: Ez fantasztikus echo "Ez a négyzet {$negyzet->szelesseg}00 centiméter széles."; echo "Mûködik: {$tomb[4][3]}"; -echo "Hibás: {$tomb[ize][3]}"; // ennek ugyanaz az oka, ami miatt - // a <link linkend="language.types.array.foo-bar">$ize[valami]</link - > hibás egy stringen kívül +echo "Hibás: {$tomb[ize][3]}"; + // ennek ugyanaz az oka, mint ami miatt + // a $ize[valami] hibás egy stringen kívül + echo "Ebben a formában már helyes: {$tomb['ize'][3]}"; echo "Akár ezt is írhatod: {$obj->ertekek[3]-&gt;nev}"; echo "Ez a $nev nevû változó értéke: {${$nev}}"; @@ -1293,7 +1293,7 @@ ); // ez ugyanaz, mint array ( 0 => 7, 1 => 8, ...) -$valtogatas = array( 10 // kulcsa 0 +$valtogatas = array( 10 // 0. indexû/kulcsú , 5 => 6 , 3 => 7 , 'a' => 4 @@ -1337,15 +1337,15 @@ <title>Kollekció</title> <programlisting role="php"> <![CDATA[ -<link linkend="control-structures.foreach">foreach</link> ( $szinek as $kulcs => $szin ) +foreach ( $szinek as $kulcs => $szin ) { // nem mûködik (nem módosítja a tömböt): - //$szin = <link linkend="function.strtoupper">strtoupper</link>($szin); + //$szin = strtoupper($szin); // mûködik (módosítja a tömböt): - $szinek[$kulcs] = <link linkend="function.strtoupper">strtoupper</link>($szin); + $szinek[$kulcs] = strtoupper($szin); } -<link linkend="function.print-r">print_r</link>($szinek); +print_r($szinek); /* kimenete: Array @@ -1367,7 +1367,7 @@ <programlisting role="php"> <![CDATA[ $elsonegyed = array(1 => 'Január', 'Február', 'Március'); -<link linkend="function.print-r">print_r</link>($elsonegyed); +print_r($elsonegyed); /* kimenete: Array @@ -1386,11 +1386,11 @@ <programlisting role="php"> <![CDATA[ // egy tömb felöltése a <link linkend="ref.dir">könyvtárban</link> található filenevekkel -$konyvtar = <link linkend="function.opendir">opendir</link>('.'); -while ($filenev = <link linkend="function.readdir">readdir</link>($konyvtar)) { +$konyvtar = opendir('.'); +while ($filenev = readdir($konyvtar)) { $filenevek[] = $filenev; } -<link linkend="function.closedir">closedir</link>($konyvtar); +closedir($konyvtar); ]]> </programlisting> </example> @@ -1402,8 +1402,10 @@ <example> <title>Tömbök rendezése</title> <programlisting role="php"> -<link linkend="function.sort">sort</link>($filenevek); -<link linkend="function.print-r">print_r</link>($filenevek); +<![CDATA[ +sort($filenevek); +print_r($filenevek); +]]> </programlisting> </example> <para>
« previous php.doc (#969341707) next »