cvs: phpdoc-cs / language-snippets.ent /appendices comparisons.xml filters.xml tokens.xml /docweb main.ent
| From: | Lukas Jelinek | Date: | Sun, 11 Jun 2006 19:06:02 +0000 |
| Subject: | cvs: phpdoc-cs / language-snippets.ent /appendices comparisons.xml filters.xml tokens.xml /docweb main.ent | ||
| Groups: | php.doc.cs | ||
| Request: | Send a blank email to doc-cs+get-175@lists.php.net to get a copy of this message | ||
luk Sun Jun 11 19:06:02 2006 UTC
Added files:
/phpdoc-cs/appendices tokens.xml
Modified files:
/phpdoc-cs language-snippets.ent
/phpdoc-cs/appendices comparisons.xml filters.xml
/phpdoc-cs/docweb main.ent
Log:
new translations
typo corrections
http://cvs.php.net/viewcvs.cgi/phpdoc-cs/language-snippets.ent?r1=1.31&r2=1.32&diff_format=u Index: phpdoc-cs/language-snippets.ent diff -u phpdoc-cs/language-snippets.ent:1.31 phpdoc-cs/language-snippets.ent:1.32 --- phpdoc-cs/language-snippets.ent:1.31 Fri Jun 9 21:08:16 2006 +++ phpdoc-cs/language-snippets.ent Sun Jun 11 19:06:02 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.166 Maintainer: luk Status: ready --> +<!-- EN-Revision: 1.168 Maintainer: luk Status: ready --> <!-- Udr¾ujte seøazené --> http://cvs.php.net/viewcvs.cgi/phpdoc-cs/appendices/comparisons.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-cs/appendices/comparisons.xml diff -u phpdoc-cs/appendices/comparisons.xml:1.2 phpdoc-cs/appendices/comparisons.xml:1.3 --- phpdoc-cs/appendices/comparisons.xml:1.2 Sat Jun 10 14:25:09 2006 +++ phpdoc-cs/appendices/comparisons.xml Sun Jun 11 19:06:02 2006 @@ -15,7 +15,7 @@ <para> Pøed pou¾itím tìchto tabulek je dùle¾ité pochopit typy a jejich významy. Napøíklad <literal>"42"</literal> je <type>string</type> (øetìzec), kde¾to - <literal>42</literal> je <type>integer</type> (ceké èíslo). &false; je + <literal>42</literal> je <type>integer</type> (celé èíslo). &false; je <type>boolean</type>, kde¾to <literal>"false"</literal> je <type>string</type>. </para> http://cvs.php.net/viewcvs.cgi/phpdoc-cs/appendices/filters.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-cs/appendices/filters.xml diff -u phpdoc-cs/appendices/filters.xml:1.2 phpdoc-cs/appendices/filters.xml:1.3 --- phpdoc-cs/appendices/filters.xml:1.2 Sat Jun 10 14:25:09 2006 +++ phpdoc-cs/appendices/filters.xml Sun Jun 11 19:06:02 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.14 Maintainer: luk Status: mixed --> +<!-- EN-Revision: 1.14 Maintainer: luk Status: ready --> <appendix id="filters"> <title>Seznam dostupných filtrù</title> <para> @@ -9,47 +9,42 @@ </para> <para> - - It is worth noting a slight asymmetry between + Stojí za to pøipomenout lehkou asymetrii mezi <function>stream_filter_append</function> - and <function>stream_filter_prepend</function>. - Every PHP stream contains a small <emphasis>read buffer</emphasis> - where it stores blocks of data retrieved from the - filesystem or other resource in order to process data - in the most efficient manner. As soon as data is pulled - from the resource into the stream's internal buffer, it - is immediately processed through any attached filters whether - the PHP application is actually ready for the data or not. - If data is sitting in the read buffer when a filter is - <emphasis>appended</emphasis>, this data will be immediately - processed through that filter making the fact that it was - sitting in the buffer seem transparent. However, if data is - sitting in the read buffer when a filter is - <emphasis>prepended</emphasis>, this data will <emphasis>NOT</emphasis> - be processed through that filter. It will instead wait until - the next block of data is retrieved from the resource. + a <function>stream_filter_prepend</function>. + Ka¾dý PHP stream obsahuje malý <emphasis>buffer pro ètení</emphasis>, + kam se ukládají bloky dat pøeètených ze souborového systému nebo jiného + prostøedku kvùli co nejefektivnìj¹ímu zpracování. Ihned poté, co jsou data + naètena ze zdroje do vnitøního bufferu streamu, jsou zpracována v¹emi + pøiøazenými filtry, a» u¾ je PHP aplikace aktuálnì pøipravena je pøijmout èi + nikoli. Pokud jsou v bufferu data v okam¾iku, kdy je + <emphasis>pøipojen</emphasis> nový filtr, tato data se ve filtru okam¾itì + zpracují, tak¾e jejich ulo¾ení v bufferu zdá transparentní. Pokud jsou v¹ak + v bufferu data a nový filtr je <emphasis>pøedøazen</emphasis>, data v bufferu + se tímto filtrem <emphasis>nezpracují</emphasis>. Místo toho se èeká, a¾ + se bude naèítat ze zdroje dal¹í blok dat. </para> <para> - For a list of filters installed in your version of - PHP use <function>stream_get_filters</function>. + K získání seznamu filtrù instalovaných ve va¹í verzi PHP pou¾ijte funkci + <function>stream_get_filters</function>. </para> <section id="filters.string"> - <title>String Filters</title> + <title>Øetìzcové filtry</title> <simpara> - Each of these filters does precisely what their name implies and - correspond to the behavior of a built-in php string handling function. - For more information on a given filter, refer to the manual page for - the corresponding function. + Ka¾dý z tìchto filtrù dìlá pøesnì to, co vyplývá z jeho názvu a koresponduje + s chováním funkcí pro zpracování øetìzcù, které jsou vestavìny v PHP. + Pro více informací o daném filtru se podívejte na manuálovou stránku + odpovídající funkce. </simpara> <simpara> <literal>string.rot13</literal> - (since PHP 4.3.0) - Use of this filter is equivalent to processing all stream data through - the <function>str_rot13</function> function. + (od PHP 4.3.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>str_rot13</function>. </simpara> <example> <title>string.rot13</title> @@ -59,7 +54,7 @@ $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.rot13'); fwrite($fp, "This is a test.\n"); -/* Outputs: Guvf vf n grfg. */ +/* Vypí¹e: Guvf vf n grfg. */ ?> ]]> </programlisting> @@ -67,9 +62,9 @@ <simpara> <literal>string.toupper</literal> - (since PHP 5.0.0) - Use of this filter is equivalent to processing all stream data through - the <function>strtoupper</function> function. + (od PHP 5.0.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>strtoupper</function>. </simpara> <example> <title>string.toupper</title> @@ -78,8 +73,8 @@ <?php $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.toupper'); -fwrite($fp, "This is a test.\n"); -/* Outputs: THIS IS A TEST. */ +fwrite($fp, "Toto je test.\n"); +/* Vypí¹e: TOTO JE TEST. */ ?> ]]> </programlisting> @@ -87,9 +82,9 @@ <simpara> <literal>string.tolower</literal> - (since PHP 5.0.0) - Use of this filter is equivalent to processing all stream data through - the <function>strtolower</function> function. + (od PHP 5.0.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>strtolower</function>. </simpara> <example> <title>string.tolower</title> @@ -98,8 +93,8 @@ <?php $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.tolower'); -fwrite($fp, "This is a test.\n"); -/* Outputs: this is a test. */ +fwrite($fp, "Toto je test.\n"); +/* Vypí¹e: toto je test. */ ?> ]]> </programlisting> @@ -107,13 +102,12 @@ <simpara> <literal>string.strip_tags</literal> - (since PHP 5.0.0) - Use of this filter is equivalent to processing all stream data through - the <function>strip_tags</function> function. - It accepts parameters in one of two forms: - Either as a string containing a list of tags similar to the - second parameter of the <function>strip_tags</function> function, - or as an array of tag names. + (od PHP 5.0.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>strip_tags</function>. + Pøijímí parametry v jedné ze dvou forem: + Buï jako øetìzec obsahující seznam znaèek podobný druhému parametru funkce + <function>strip_tags</function>, anebo jako pole názvù znaèek. </simpara> <example> <title>string.strip_tags</title> @@ -122,15 +116,15 @@ <?php $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, "<b><i><u>"); -fwrite($fp, "<b>bolded text</b> enlarged to a <h1>level 1 heading</h1>\n"); +fwrite($fp, "<b>tuèný text</b> se zvìt¹í na <h1>nadpis úrovnì 1</h1>\n"); fclose($fp); -/* Outputs: <b>bolded text</b> enlarged to a level 1 heading */ +/* Vypí¹e: <b>tuèný text</b> se zvìt¹í na nadpis úrovnì 1 */ $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, array('b','i','u')); -fwrite($fp, "<b>bolded text</b> enlarged to a <h1>level 1 heading</h1>\n"); +fwrite($fp, "<b>tuèný text</b> se zvìt¹í na <h1>nadpis úrovnì 1</h1>\n"); fclose($fp); -/* Outputs: <b>bolded text</b> enlarged to a level 1 heading */ +/* Vypí¹e: <b>tuèný text</b> se zvìt¹í na nadpis úrovnì 1 */ ?> ]]> </programlisting> @@ -139,29 +133,28 @@ </section> <section id="filters.convert"> - <title>Conversion Filters</title> + <title>Konverzní filtry</title> <simpara> - Like the string.* filters, the convert.* filters perform actions - similar to their names. The convert filters were added with + Podobnì jako filtry string.*, také filtry convert.* provádìjí akce + odpovídající jejich názvùm. Konverzní filtry byly pøidány ve verzi PHP 5.0.0. - For more information on a given filter, refer to the manual page for - the corresponding function. + Pro více informací o daném filtru se podívejte na manuálovou stránku + odpovídající funkce. </simpara> <simpara> - <literal>convert.base64-encode</literal> and + <literal>convert.base64-encode</literal> a <literal>convert.base64-decode</literal> - Use of these filters are equivalent to processing all stream data through - the <function>base64_encode</function> and <function>base64_decode</function> - functions respectively. - <literal>convert.base64-encode</literal> supports parameters given as - an associative array. If <parameter>line-length</parameter> is given, the - base64 output will be split into chunks of <parameter>line-length</parameter> - characters each. If <parameter>line-break-chars</parameter> is given, each - chunk will be delimited by the characters given. These parameters give the - same effect as using <function>base64_encode</function> with - <function>chunk_split</function>. + + Pou¾ití tìchto filtrù je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>base64_encode</function>, resp. <function>base64_decode</function>. + <literal>convert.base64-encode</literal> podporuje parametry poskytnuté jako + asociativní pole. Pokud je dán parametr <parameter>line-length</parameter>, + výstup base64 bude rozdìlen do úsekù o délce <parameter>line-length</parameter> + znakù. Je-li dán parametr <parameter>line-break-chars</parameter>, ka¾dý + úsek bude oddìlen danými znaky. Tyto parametry mají stejný efekt jako + pou¾ití <function>base64_encode</function> s <function>chunk_split</function>. </simpara> <example> <title> @@ -175,14 +168,14 @@ stream_filter_append($fp, 'convert.base64-encode'); fwrite($fp, "This is a test.\n"); fclose($fp); -/* Outputs: VGhpcyBpcyBhIHRlc3QuCg== */ +/* Vypí¹e: VGhpcyBpcyBhIHRlc3QuCg== */ $param = array('line-length' => 8, 'line-break-chars' => "\r\n"); $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE, $param); fwrite($fp, "This is a test.\n"); fclose($fp); -/* Outputs: VGhpcyBp +/* Vypí¹e: VGhpcyBp : cyBhIHRl : c3QuCg== */ @@ -190,26 +183,27 @@ stream_filter_append($fp, 'convert.base64-decode'); fwrite($fp, "VGhpcyBpcyBhIHRlc3QuCg=="); fclose($fp); -/* Outputs: This is a test. */ +/* Vypí¹e: This is a test. */ ?> ]]> </programlisting> </example> <simpara> - <literal>convert.quoted-printable-encode</literal> and + <literal>convert.quoted-printable-encode</literal> a <literal>convert.quoted-printable-decode</literal> - Use of the decode version of this filter is equivalent to processing all stream - data through the <function>quoted_printable_decode</function> functions. - There is no function equivalent to <literal>convert.quoted-printable-encode</literal>. - <literal>convert.quoted-printable-encode</literal> supports parameters given as - an associative array. In addition to the parameters supported by - <literal>convert.base64-encode</literal>, <literal>convert.quoted-printable-encode</literal> - also supports boolean arguments <parameter>binary</parameter> and - <parameter>force-encode-first</parameter>. - <literal>convert.base64-decode</literal> only supports the - <parameter>line-break-chars</parameter> parameter as a type-hint - for striping from the encoded payload. + + Pou¾ití dekódovacího filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>quoted_printable_decode</function>. Filtr + <literal>convert.quoted-printable-encode</literal> nemá ¾ádný funkèní + ekvivalent. <literal>convert.quoted-printable-encode</literal> podporuje + parametry poskytnuté jako asociativní pole. K parametrùm podporovaným filtrem + <literal>convert.base64-encode</literal>, podporuje + <literal>convert.quoted-printable-encode</literal> navíc boolovské argumenty + <parameter>binary</parameter> a <parameter>force-encode-first</parameter>. + <literal>convert.base64-decode</literal> podporuje pouze parametr + <parameter>line-break-chars</parameter> jako pomùcku pro odstranìní + nadbyteèných znakù v zakódovaných datech. </simpara> <example> <title> @@ -230,65 +224,69 @@ </section> <section id="filters.compression"> - <title>Compression Filters</title> + <title>Kompresní filtry</title> <simpara> - While the <link linkend="wrappers.compression">Compression Wrappers</link> - provide a way of creating - gzip and bz2 compatible files on the local filesystem, they do not provide a - means for generalized compression over network streams, nor do they provide a - means to begin with a non-compressed stream and transition to a compressed one. - For this, a compression filter may be applied to any stream resource at any time. + Zatímco <link linkend="wrappers.compression">Kompresní wrappery</link> + poskytují cestu k vytváøení kompatibilních GZIP a BZ2 souborù v místním + souborovém systému, nejsou schopny poskytnout zobecnìnou kompresi sí»ových + streamù, ani mo¾nost zaèít s nekomprimovaným streamem a zmìnit ho na + komprimovaný. Kompresní filtry lze ov¹em kdykoli aplikovat na libovolný + stream. </simpara> <note> <simpara> - Compression filters do <emphasis>not</emphasis> generate headers and trailers - used by commandline utilites such as <literal>gzip</literal>. They only compress - and decompress the payload portions of compressed data streams. + Kompresní filtry <emphasis>negenerují</emphasis> hlavièky a ukonèovací + sekvence, jak to dìlají konzolové utility jako <literal>gzip</literal>. + Pouze komprimují a dekomprimují u¾iteèné èásti datových streamù. </simpara> </note> <simpara> - <literal>zlib.deflate</literal> (compression) and - <literal>zlib.inflate</literal> (decompression) are implementations of - the compression methods described in <ulink url="&url.rfc;1951">RFC 1951</ulink>. - The <literal>deflate</literal> filter takes up to three parameters passed as - an associative array. - - <parameter>level</parameter> describes the compression - strength to use (1-9). Higher numbers will generally yield smaller payloads at - the cost of additional processing time. Two special compression levels also exist: - 0 (for no compression at all), and -1 (zlib internal default -- currently 6). - - <parameter>window</parameter> is the base-2 log of the compression loopback window size. - Higher values (up to 15 -- 32768 bytes) yield better compression at a cost of memory, - while lower values (down to 9 -- 512 bytes) yield worse compression in a smaller memory footprint. - Default <parameter>window</parameter> size is currently <constant>15</constant>. - - <parameter>memory</parameter> is a scale indicating how much work memory should be allocated. - Valid values range from 1 (minimal allocation) to 9 (maximum allocation). This memory allocation - affects speed only and does not impact the size of the generated payload. + <literal>zlib.deflate</literal> (komprese) a + <literal>zlib.inflate</literal> (dekomprese) jsou implementace + kompresních metod popsaných v <ulink url="&url.rfc;1951">RFC 1951</ulink>. + Filtr <literal>deflate</literal> pøijímá a¾ tøi parametry pøedané jako + asociativní pole. + + <parameter>level</parameter> udává, jakou úèinnost komprese pou¾ít (1-9). + Vy¹¹í èísla vedou k men¹ímu objemu dat za cenu del¹ího èasu zpracování. + Existují také dvì speciální kompresní úrovnì: 0 (¾ádná komprese) a -1 + (vnitøní výchozí hodnota zlib - momentálnì 6). + + <parameter>window</parameter> je dvojkový logaritmus velikosti kompresního + okna. Vy¹¹í hodnoty (a¾ 15 -- 32768 B) vedou k lep¹í kompresi pøi vìt¹ích + nárocích na pamì». kde¾to ni¾¹í (od 9 -- 512 B) znamenají hor¹í kompresi + za men¹í spotøeby pamìti. Výchozí hodnota parametru + <parameter>window</parameter> je nyní <constant>15</constant>. + + <parameter>memory</parameter> udává, kolik pamìti by se mìlo alokovat. + Rozsah platných hodnot je od 1 (minimální alokace) do 9 (maximální alokace). + Tato hodnota má vliv pouze na rychlost, neovlivòuje úèinnost komprese. </simpara> <note> <simpara> - Because compression level is the most commonly used parameter, it may be alternatively - provided as a simple integer value (rather than an array element). + Proto¾e úroveò komprese je nejèastìji pou¾ívaným parametrem, lze ji + alternativnì udat také jako obyèejnou celoèíselnou hodnotu (namísto prvku + pole). </simpara> </note> <simpara> - zlib.* compression filters are available with PHP as of version <literal>5.1.0</literal> if - <link linkend="ref.zlib">zlib</link> support is enabled. They are also available as a backport in version - <literal>5.0.x</literal> by installing the <ulink url="&url.pecl.package;zlib_filter">zlib_filter</ulink> - package from <ulink url="&url.pecl;">PECL</ulink>. These filters are <emphasis>not</emphasis> - available for PHP 4. + Kompresní filtry zlib.* jsou k dispozici v PHP od verze <literal>5.1.0</literal>, + pokud je zapnuta podpora <link linkend="ref.zlib">zlib</link>. + Jsou dostupné té¾ jako backport ve verzi <literal>5.0.x</literal> + po nainstalování balíku + <ulink url="&url.pecl.package;zlib_filter">zlib_filter</ulink> z + <ulink url="&url.pecl;">PECL</ulink>. Tyto filtry <emphasis>nejsou</emphasis> + dostupné v PHP 4. </simpara> <example> <title> - <literal>zlib.deflate</literal> and + <literal>zlib.deflate</literal> a <literal>zlib.inflate</literal> </title> <programlisting role="php"> @@ -296,27 +294,27 @@ <?php $params = array('level' => 6, 'window' => 15, 'memory' => 9); -$original_text = "This is a test.\nThis is only a test.\nThis is not an important string.\n"; -echo "The original text is " . strlen($original_text) . " characters long.\n"; +$original_text = "Toto je test.\nToto je pouze test.\nToto není dùle¾itý øetìzec.\n"; +echo "Pùvodní text je " . strlen($original_text) . " znakù dlouhý.\n"; $fp = fopen('test.deflated', 'w'); stream_filter_append($fp, 'zlib.deflate', STREAM_FILTER_WRITE, $params); fwrite($fp, $original_text); fclose($fp); -echo "The compressed file is " . filesize('test.deflated') . " bytes long.\n"; -echo "The original text was:\n"; -/* Use readfile and zlib.inflate to decompress on the fly */ +echo "Komprimovaný soubor je " . filesize('test.deflated') . " B velký.\n"; +echo "Pùvodní text byl:\n"; +/* Pou¾ij readfile a zlib.inflate k dekompresi "za letu" */ readfile('php://filter/zlib.inflate/resource=test.deflated'); -/* Generates output: +/* Vygeneruje výstup: -The original text is 70 characters long. -The compressed file is 56 bytes long. -The original text was: -This is a test. -This is only a test. -This is not an important string. +Pùvodní text je 70 znakù dlouhý. +Komprimovaný soubor je 56 B velký. +Pùvodní text byl: +Toto je test. +Toto je pouze test. +Toto není dùle¾itý øetìzec. */ ?> @@ -331,20 +329,20 @@ <programlisting role="php"> <![CDATA[ <?php -$original_text = "Toto je test.\nToto je pouze test.\nToto není d?le?itý ?et?zec.\n"; -echo "P?vodní text je " . strlen($original_text) . " znak? dlouhý.\n"; +$original_text = "Toto je test.\nToto je pouze test.\nToto není dùle¾itý øetìzec.\n"; +echo "P?vodní text je " . strlen($original_text) . " znakù dlouhý.\n"; $fp = fopen('test.deflated', 'w'); -/* zde "6" indikuje úrove? komprese 6 */ +/* zde "6" indikuje úroveò komprese 6 */ stream_filter_append($fp, 'zlib.deflate', STREAM_FILTER_WRITE, 6); fwrite($fp, $original_text); fclose($fp); echo "Komprimovaný soubor je " . filesize('test.deflated') . " B velký.\n"; -/* Generates output: +/* Vygeneruje výstup: -P?vodní text je 70 znak? dlouhý. +Pùvodní text je 70 znakù dlouhý. Komprimovaný soubor je 56 B velký. */ @@ -473,7 +471,7 @@ </row> <row> <entry>key</entry> - <entry>npovinný</entry> + <entry>povinný</entry> <entry>N/A</entry> <entry>Typicky 8, 16, nebo 32 B binárních dat. Zále¾í na ¹iføe.</entry> </row> http://cvs.php.net/viewcvs.cgi/phpdoc-cs/docweb/main.ent?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-cs/docweb/main.ent diff -u phpdoc-cs/docweb/main.ent:1.1 phpdoc-cs/docweb/main.ent:1.2 --- phpdoc-cs/docweb/main.ent:1.1 Tue Feb 22 20:41:11 2005 +++ phpdoc-cs/docweb/main.ent Sun Jun 11 19:06:02 2006 @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.17 Maintainer: luk Status: ready --> +<!-- EN-Revision: 1.26 Maintainer: luk Status: ready --> <!-- common --> <!ENTITY docweb.common.title.default 'Dokumentaèní nástroje PHP'> <!ENTITY docweb.common.all 'V¹echno'> <!ENTITY docweb.common.n-a 'N/A'> <!ENTITY docweb.common.and 'a'> +<!ENTITY docweb.common.submit 'Odeslat'> <!-- common.linkname --> <!ENTITY docweb.common.linkname.subsite-homepage 'Homepage podstránek'> @@ -18,6 +19,10 @@ <!ENTITY docweb.common.linkname.translation-info 'Informace k pøekladùm'> <!ENTITY docweb.common.linkname.entities 'Projektové entity'> <!ENTITY docweb.common.linkname.notes-stats 'Statistiky poznámek'> +<!ENTITY docweb.common.linkname.undoc-functions 'Nedokumentované funkce'> +<!ENTITY docweb.common.linkname.missing-examples 'Chybìjící pøíklady'> +<!ENTITY docweb.common.linkname.admin 'Administrátorská zóna'> +<!ENTITY docweb.common.linkname.userlist 'Seznam u¾ivatelù'> <!-- hyperlinks (include markup) --> <!ENTITY docweb.common.link.php-license '<a href="http://php.net/license/">Licence PHP</a>'> @@ -52,7 +57,14 @@ <!ENTITY docweb.common.header.project-doc-bugs 'Chyby v projektu (dokumentaci)'> <!ENTITY docweb.common.header.open-bugs 'otevøené chyby'> <!ENTITY docweb.common.header.entities 'Projektové entity'> +<!ENTITY docweb.common.header.undoc-functions 'Nedokumentované funkce'> +<!ENTITY docweb.common.header.missing-examples 'Chybìjící pøíklady'> <!ENTITY docweb.common.header.login 'Pøihlá¹ení'> +<!ENTITY docweb.common.header.users 'Informace o u¾ivateli'> +<!ENTITY docweb.common.header.users.edit 'Upravit informace o u¾ivateli'> +<!ENTITY docweb.common.header.stats-not-available '&docweb.common.error.stats-not-available;'> +<!ENTITY docweb.common.header.stats-not-available-yet '&docweb.common.error.stats-not-available-yet;'> +<!ENTITY docweb.common.header.notes-stats 'Statistiky správy poznámek'> <!-- common.footer --> <!ENTITY docweb.common.footer.copyright 'Copyright'> @@ -61,6 +73,10 @@ <!ENTITY docweb.common.footer.credits 'Credits'> <!ENTITY docweb.common.footer.contact 'Kontakt'> +<!-- common.error --> +<!ENTITY docweb.common.error.stats-not-available 'Statistiky nejsou k dispozici'> +<!ENTITY docweb.common.error.stats-not-available-yet '&docweb.common.error.stats-not-available; (zatím)'> + <!-- home --> <!ENTITY docweb.home.header.what-is 'K èemu je tato stránka?'> <!ENTITY docweb.home.text.what-is "Existují rùzné dokumentaèní týmy, které @@ -120,7 +136,20 @@ <!ENTITY docweb.login.text '<strong>Poznámka:</strong> Pokud chcete pouze prohlí¾et tyto stránky, nemusíte se pøihla¹ovat. Pro v¹echny operace vy¾adující autentizaci budete automaticky pøesmìrováni na tento formuláø.'> - + +<!-- user page --> +<!ENTITY docweb.users.username 'U¾ivatelské jméno'> +<!ENTITY docweb.users.name 'Skuteèné jméno'> +<!ENTITY docweb.users.country 'Zemì'> +<!ENTITY docweb.users.website 'Webové stránky'> +<!ENTITY docweb.users.wishlist 'Seznam pøání'> +<!ENTITY docweb.users.photo 'Foto u¾ivatele'> +<!ENTITY docweb.users.succes 'Vá¹ profil byl aktualizován'> +<!ENTITY docweb.users.delete-photo 'Smazat aktuální foto?'> +<!ENTITY docweb.users.error.size 'Pou¾ijte prosím foto o velikosti do 300 KB'> +<!ENTITY docweb.users.error.format 'Zajistìte prosím, aby va¹e foto bylo ve formátu JPG a maximálnì 500x500'> +<!ENTITY docweb.users.error.notyou 'Mù¾ete upravovat pouze svùj vlastní profil'> + <!-- error codes --> <!ENTITY docweb.error.404 'Soubor nenalezen'> <!ENTITY docweb.error.nomesg 'Není k dispozici ¾ádná zpráva.'> @@ -137,3 +166,6 @@ <!ENTITY docweb.checkent.result.http-internal-error 'Vnitøní chyba (HTTP)'> <!ENTITY docweb.checkent.result.http-not-found 'Prostøedek nenalezen (HTTP)'> +<!-- notes stats --> +<!ENTITY docweb.notes-stats.last-updated 'Poslední aktualizace:'> + http://cvs.php.net/viewcvs.cgi/phpdoc-cs/appendices/tokens.xml?view=markup&rev=1.1 Index: phpdoc-cs/appendices/tokens.xml +++ phpdoc-cs/appendices/tokens.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.23 Maintainer: luk Status: ready --> <appendix id="tokens"> <title>Seznam tokenù parseru</title> <para> Rùzné èásti jazyka PHP jsou vnitønì reprezentovány typy jako T_SR. PHP vypisuje identifikátory, jako je tento, v parsovacích chybách, jako: <literal>"Parse error: unexpected T_SR, expecting ',' or ';' in script.php on line 10."</literal> </para> <para> Pøedpokládá se, ¾e víte, co T_SR znamená. Pro ka¾dého, kdo to neví, je zde tabulka tìchto identifikátorù, PHP syntaxe a odkazy na pøíslu¹ná místa v manulálu. </para> <table> <title>Tokeny</title> <tgroup cols="3"> <thead> <row> <entry>Token</entry> <entry>Syntaxe</entry> <entry>Odkaz</entry> </row> </thead> <tbody> <row> <entry>T_ABSTRACT</entry> <entry>abstract</entry> <entry><xref linkend="language.oop5.abstract"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_AND_EQUAL</entry> <entry>&=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_ARRAY</entry> <entry>array()</entry> <entry><function>array</function>, <link linkend="language.types.array.syntax">syntaxe pole</link></entry> </row> <row> <entry>T_ARRAY_CAST</entry> <entry>(array)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_AS</entry> <entry>as</entry> <entry><link linkend="control-structures.foreach">foreach</link></entry> </row> <row> <entry>T_BAD_CHARACTER</entry> <entry></entry> <entry>cokoliv pod ASCII 32 kromì \t (0x09), \n (0x0a) a \r (0x0d)</entry> </row> <row> <entry>T_BOOLEAN_AND</entry> <entry>&&</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_BOOLEAN_OR</entry> <entry>||</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_BOOL_CAST</entry> <entry>(bool) or (boolean)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_BREAK</entry> <entry>break</entry> <entry><link linkend="control-structures.break">break</link></entry> </row> <row> <entry>T_CASE</entry> <entry>case</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_CATCH</entry> <entry>catch</entry> <entry><xref linkend="language.exceptions"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_CHARACTER</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_CLASS</entry> <entry>class</entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_CLONE</entry> <entry>clone</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_CLOSE_TAG</entry> <entry>?> nebo %></entry> <entry></entry> </row> <row> <entry>T_COMMENT</entry> <entry>// or #, a /* */ v PHP 5</entry> <entry><link linkend="language.basic-syntax.comments">komentáøe</link></entry> </row> <row> <entry>T_CONCAT_EQUAL</entry> <entry>.=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_CONST</entry> <entry>const</entry> <entry></entry> </row> <row> <entry>T_CONSTANT_ENCAPSED_STRING</entry> <entry>"foo" or 'bar'</entry> <entry><link linkend="language.types.string.syntax">syntaxe øetìzcù</link></entry> </row> <row> <entry>T_CONTINUE</entry> <entry>continue</entry> <entry></entry> </row> <row> <entry>T_CURLY_OPEN</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_DEC</entry> <entry>--</entry> <entry><link linkend="language.operators.increment">inkrementaèní/dekrementaèní operátory</link></entry> </row> <row> <entry>T_DECLARE</entry> <entry>declare</entry> <entry><link linkend="control-structures.declare">declare</link></entry> </row> <row> <entry>T_DEFAULT</entry> <entry>default</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_DIV_EQUAL</entry> <entry>/=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazenís</link></entry> </row> <row> <entry>T_DNUMBER</entry> <entry>0.12, etc</entry> <entry><link linkend="language.types.float">èísla v plovoucí øádové èárce</link></entry> </row> <row> <entry>T_DOC_COMMENT</entry> <entry>/** */</entry> <entry><link linkend="language.basic-syntax.comments">komentáøe stylu PHPDoc</link> (pouze PHP 5)</entry> </row> <row> <entry>T_DO</entry> <entry>do</entry> <entry><link linkend="control-structures.do.while">do..while</link></entry> </row> <row> <entry>T_DOLLAR_OPEN_CURLY_BRACES</entry> <entry>${</entry> <entry><link linkend="language.types.string.parsing.complex">parsovaná syntaxe komplexní promìnné</link></entry> </row> <row> <entry>T_DOUBLE_ARROW</entry> <entry>=></entry> <entry><link linkend="language.types.array.syntax">syntaxe pole</link></entry> </row> <row> <entry>T_DOUBLE_CAST</entry> <entry>(real), (double) nebo (float)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_DOUBLE_COLON</entry> <entry>::</entry> <entry>viz <constant>T_PAAMAYIM_NEKUDOTAYIM</constant> ní¾e</entry> </row> <row> <entry>T_ECHO</entry> <entry>echo</entry> <entry><function>echo</function></entry> </row> <row> <entry>T_ELSE</entry> <entry>else</entry> <entry><link linkend="control-structures.else">else</link></entry> </row> <row> <entry>T_ELSEIF</entry> <entry>elseif</entry> <entry><link linkend="control-structures.elseif">elseif</link></entry> </row> <row> <entry>T_EMPTY</entry> <entry>empty</entry> <entry><function>empty</function></entry> </row> <row> <entry>T_ENCAPSED_AND_WHITESPACE</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_ENDDECLARE</entry> <entry>enddeclare</entry> <entry><link linkend="control-structures.declare">declare</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDFOR</entry> <entry>endfor</entry> <entry><link linkend="control-structures.for">for</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDFOREACH</entry> <entry>endforeach</entry> <entry><link linkend="control-structures.foreach">foreach</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDIF</entry> <entry>endif</entry> <entry><link linkend="control-structures.if">if</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDSWITCH</entry> <entry>endswitch</entry> <entry><link linkend="control-structures.switch">switch</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDWHILE</entry> <entry>endwhile</entry> <entry><link linkend="control-structures.while">while</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_END_HEREDOC</entry> <entry></entry> <entry><link linkend="language.types.string.syntax.heredoc">syntaxe heredoc</link></entry> </row> <row> <entry>T_EVAL</entry> <entry>eval()</entry> <entry><function>eval</function></entry> </row> <row> <entry>T_EXIT</entry> <entry>exit or die</entry> <entry><function>exit</function>, <function>die</function></entry> </row> <row> <entry>T_EXTENDS</entry> <entry>extends</entry> <entry><link linkend="keyword.extends">extends</link>, <link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_FILE</entry> <entry>__FILE__</entry> <entry><link linkend="language.constants">konstanty</link></entry> </row> <row> <entry>T_FINAL</entry> <entry>final</entry> <entry><xref linkend="language.oop5.final"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_FOR</entry> <entry>for</entry> <entry><link linkend="control-structures.for">for</link></entry> </row> <row> <entry>T_FOREACH</entry> <entry>foreach</entry> <entry><link linkend="control-structures.foreach">foreach</link></entry> </row> <row> <entry>T_FUNCTION</entry> <entry>function or cfunction</entry> <entry><link linkend="language.functions">funkce</link></entry> </row> <row> <entry>T_GLOBAL</entry> <entry>global</entry> <entry><link linkend="language.variables.scope">rozsah platnosti promìnných</link></entry> </row> <row> <entry>T_HALT_COMPILER</entry> <entry>__halt_compiler()</entry> <entry><xref linkend="function.halt-compiler"/> (k dispozici od PHP 5.1.0)</entry> </row> <row> <entry>T_IF</entry> <entry>if</entry> <entry><link linkend="control-structures.if">if</link></entry> </row> <row> <entry>T_IMPLEMENTS</entry> <entry>implements</entry> <entry><xref linkend="language.oop5.interfaces"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_INC</entry> <entry>++</entry> <entry><link linkend="language.operators.increment">inkrementaèní/dekrementaèní operátory</link></entry> </row> <row> <entry>T_INCLUDE</entry> <entry>include()</entry> <entry><function>include</function></entry> </row> <row> <entry>T_INCLUDE_ONCE</entry> <entry>include_once()</entry> <entry><function>include_once</function></entry> </row> <row> <entry>T_INLINE_HTML</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_INSTANCEOF</entry> <entry>instanceof</entry> <entry><link linkend="language.operators.type">typové operátory</link> (pouze PHP5)</entry> </row> <row> <entry>T_INT_CAST</entry> <entry>(int) nebo (integer)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_INTERFACE</entry> <entry>interface</entry> <entry><xref linkend="language.oop5.interfaces"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_ISSET</entry> <entry>isset()</entry> <entry><function>isset</function></entry> </row> <row> <entry>T_IS_EQUAL</entry> <entry>==</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_GREATER_OR_EQUAL</entry> <entry>>=</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_IDENTICAL</entry> <entry>===</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_NOT_EQUAL</entry> <entry>!= or <></entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_NOT_IDENTICAL</entry> <entry>!==</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_SMALLER_OR_EQUAL</entry> <entry><=</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_LINE</entry> <entry>__LINE__</entry> <entry><link linkend="language.constants">konstanty</link></entry> </row> <row> <entry>T_LIST</entry> <entry>list()</entry> <entry><function>list</function></entry> </row> <row> <entry>T_LNUMBER</entry> <entry>123, 012, 0x1ac, atd.</entry> <entry><link linkend="language.types.integer">celá èísla</link></entry> </row> <row> <entry>T_LOGICAL_AND</entry> <entry>and</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_LOGICAL_OR</entry> <entry>or</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_LOGICAL_XOR</entry> <entry>xor</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_MINUS_EQUAL</entry> <entry>-=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_ML_COMMENT</entry> <entry>/* a */</entry> <entry><link linkend="language.basic-syntax.comments">komentáøe</link> (pouze PHP 4)</entry> </row> <row> <entry>T_MOD_EQUAL</entry> <entry>%=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_MUL_EQUAL</entry> <entry>*=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_NEW</entry> <entry>new</entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_NUM_STRING</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_OBJECT_CAST</entry> <entry>(object)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_OBJECT_OPERATOR</entry> <entry>-></entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_OLD_FUNCTION</entry> <entry>old_function</entry> <entry><link linkend="migration.old-function">old_function</link></entry> </row> <row> <entry>T_OPEN_TAG</entry> <entry><?php, <? nebo <%</entry> <entry><link linkend="language.basic-syntax.phpmode">pøechod z HTML</link></entry> </row> <row> <entry>T_OPEN_TAG_WITH_ECHO</entry> <entry><?= nebo <%=</entry> <entry><link linkend="language.basic-syntax.phpmode">pøechod z HTML</link></entry> </row> <row> <entry>T_OR_EQUAL</entry> <entry>|=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_PAAMAYIM_NEKUDOTAYIM</entry> <entry>::</entry> <entry><link linkend="keyword.paamayim-nekudotayim">::</link>. Definováno také jaké <constant>T_DOUBLE_COLON</constant>.</entry> </row> <row> <entry>T_PLUS_EQUAL</entry> <entry>+=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_PRINT</entry> <entry>print()</entry> <entry><function>print</function></entry> </row> <row> <entry>T_PRIVATE</entry> <entry>private</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_PUBLIC</entry> <entry>public</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_PROTECTED</entry> <entry>protected</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_REQUIRE</entry> <entry>require()</entry> <entry><function>require</function></entry> </row> <row> <entry>T_REQUIRE_ONCE</entry> <entry>require_once()</entry> <entry><function>require_once</function></entry> </row> <row> <entry>T_RETURN</entry> <entry>return</entry> <entry><link linkend="functions.returning-values">návratové hodnoty</link></entry> </row> <row> <entry>T_SL</entry> <entry><<</entry> <entry><link linkend="language.operators.bitwise">bitové operátory</link></entry> </row> <row> <entry>T_SL_EQUAL</entry> <entry><<=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_SR</entry> <entry>>></entry> <entry><link linkend="language.operators.bitwise">bitové operátory</link></entry> </row> <row> <entry>T_SR_EQUAL</entry> <entry>>>=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_START_HEREDOC</entry> <entry><<<</entry> <entry><link linkend="language.types.string.syntax.heredoc">syntaxe heredoc</link></entry> </row> <row> <entry>T_STATIC</entry> <entry>static</entry> <entry><link linkend="language.variables.scope">rozsah platnosti promìnných</link></entry> </row> <row> <entry>T_STRING</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_STRING_CAST</entry> <entry>(string)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_STRING_VARNAME</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_SWITCH</entry> <entry>switch</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_THROW</entry> <entry>throw</entry> <entry><xref linkend="language.exceptions"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_TRY</entry> <entry>try</entry> <entry><xref linkend="language.exceptions"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_UNSET</entry> <entry>unset()</entry> <entry><function>unset</function></entry> </row> <row> <entry>T_UNSET_CAST</entry> <entry>(unset)</entry> <entry>(not documented; pøetypuje na &null;)</entry> </row> <row> <entry>T_USE</entry> <entry>use</entry> <entry>(neimplementováno)</entry> </row> <row> <entry>T_VAR</entry> <entry>var</entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_VARIABLE</entry> <entry>$foo</entry> <entry><link linkend="language.variables">promìnné</link></entry> </row> <row> <entry>T_WHILE</entry> <entry>while</entry> <entry><link linkend="control-structures.while">while</link>, <link linkend="control-structures.do.while">do..while</link></entry> </row> <row> <entry>T_WHITESPACE</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_XOR_EQUAL</entry> <entry>^=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_FUNC_C</entry> <entry>__FUNCTION__</entry> <entry><link linkend="language.constants">konstanty</link>, od PHP 4.3.0</entry> </row> <row> <entry>T_CLASS_C</entry> <entry>__CLASS__</entry> <entry><link linkend="language.constants">konstanty</link>, od PHP 4.3.0</entry> </row> </tbody> </tgroup> </table> <para> Viz také <function>token_name</function>. </para> </appendix> <!-- 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 -->
http://cvs.php.net/viewcvs.cgi/phpdoc-cs/language-snippets.ent?r1=1.31&r2=1.32&diff_format=u Index: phpdoc-cs/language-snippets.ent diff -u phpdoc-cs/language-snippets.ent:1.31 phpdoc-cs/language-snippets.ent:1.32 --- phpdoc-cs/language-snippets.ent:1.31 Fri Jun 9 21:08:16 2006 +++ phpdoc-cs/language-snippets.ent Sun Jun 11 19:06:02 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.166 Maintainer: luk Status: ready --> +<!-- EN-Revision: 1.168 Maintainer: luk Status: ready --> <!-- Udr¾ujte seøazené --> http://cvs.php.net/viewcvs.cgi/phpdoc-cs/appendices/comparisons.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-cs/appendices/comparisons.xml diff -u phpdoc-cs/appendices/comparisons.xml:1.2 phpdoc-cs/appendices/comparisons.xml:1.3 --- phpdoc-cs/appendices/comparisons.xml:1.2 Sat Jun 10 14:25:09 2006 +++ phpdoc-cs/appendices/comparisons.xml Sun Jun 11 19:06:02 2006 @@ -15,7 +15,7 @@ <para> Pøed pou¾itím tìchto tabulek je dùle¾ité pochopit typy a jejich významy. Napøíklad <literal>"42"</literal> je <type>string</type> (øetìzec), kde¾to - <literal>42</literal> je <type>integer</type> (ceké èíslo). &false; je + <literal>42</literal> je <type>integer</type> (celé èíslo). &false; je <type>boolean</type>, kde¾to <literal>"false"</literal> je <type>string</type>. </para> http://cvs.php.net/viewcvs.cgi/phpdoc-cs/appendices/filters.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-cs/appendices/filters.xml diff -u phpdoc-cs/appendices/filters.xml:1.2 phpdoc-cs/appendices/filters.xml:1.3 --- phpdoc-cs/appendices/filters.xml:1.2 Sat Jun 10 14:25:09 2006 +++ phpdoc-cs/appendices/filters.xml Sun Jun 11 19:06:02 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.14 Maintainer: luk Status: mixed --> +<!-- EN-Revision: 1.14 Maintainer: luk Status: ready --> <appendix id="filters"> <title>Seznam dostupných filtrù</title> <para> @@ -9,47 +9,42 @@ </para> <para> - - It is worth noting a slight asymmetry between + Stojí za to pøipomenout lehkou asymetrii mezi <function>stream_filter_append</function> - and <function>stream_filter_prepend</function>. - Every PHP stream contains a small <emphasis>read buffer</emphasis> - where it stores blocks of data retrieved from the - filesystem or other resource in order to process data - in the most efficient manner. As soon as data is pulled - from the resource into the stream's internal buffer, it - is immediately processed through any attached filters whether - the PHP application is actually ready for the data or not. - If data is sitting in the read buffer when a filter is - <emphasis>appended</emphasis>, this data will be immediately - processed through that filter making the fact that it was - sitting in the buffer seem transparent. However, if data is - sitting in the read buffer when a filter is - <emphasis>prepended</emphasis>, this data will <emphasis>NOT</emphasis> - be processed through that filter. It will instead wait until - the next block of data is retrieved from the resource. + a <function>stream_filter_prepend</function>. + Ka¾dý PHP stream obsahuje malý <emphasis>buffer pro ètení</emphasis>, + kam se ukládají bloky dat pøeètených ze souborového systému nebo jiného + prostøedku kvùli co nejefektivnìj¹ímu zpracování. Ihned poté, co jsou data + naètena ze zdroje do vnitøního bufferu streamu, jsou zpracována v¹emi + pøiøazenými filtry, a» u¾ je PHP aplikace aktuálnì pøipravena je pøijmout èi + nikoli. Pokud jsou v bufferu data v okam¾iku, kdy je + <emphasis>pøipojen</emphasis> nový filtr, tato data se ve filtru okam¾itì + zpracují, tak¾e jejich ulo¾ení v bufferu zdá transparentní. Pokud jsou v¹ak + v bufferu data a nový filtr je <emphasis>pøedøazen</emphasis>, data v bufferu + se tímto filtrem <emphasis>nezpracují</emphasis>. Místo toho se èeká, a¾ + se bude naèítat ze zdroje dal¹í blok dat. </para> <para> - For a list of filters installed in your version of - PHP use <function>stream_get_filters</function>. + K získání seznamu filtrù instalovaných ve va¹í verzi PHP pou¾ijte funkci + <function>stream_get_filters</function>. </para> <section id="filters.string"> - <title>String Filters</title> + <title>Øetìzcové filtry</title> <simpara> - Each of these filters does precisely what their name implies and - correspond to the behavior of a built-in php string handling function. - For more information on a given filter, refer to the manual page for - the corresponding function. + Ka¾dý z tìchto filtrù dìlá pøesnì to, co vyplývá z jeho názvu a koresponduje + s chováním funkcí pro zpracování øetìzcù, které jsou vestavìny v PHP. + Pro více informací o daném filtru se podívejte na manuálovou stránku + odpovídající funkce. </simpara> <simpara> <literal>string.rot13</literal> - (since PHP 4.3.0) - Use of this filter is equivalent to processing all stream data through - the <function>str_rot13</function> function. + (od PHP 4.3.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>str_rot13</function>. </simpara> <example> <title>string.rot13</title> @@ -59,7 +54,7 @@ $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.rot13'); fwrite($fp, "This is a test.\n"); -/* Outputs: Guvf vf n grfg. */ +/* Vypí¹e: Guvf vf n grfg. */ ?> ]]> </programlisting> @@ -67,9 +62,9 @@ <simpara> <literal>string.toupper</literal> - (since PHP 5.0.0) - Use of this filter is equivalent to processing all stream data through - the <function>strtoupper</function> function. + (od PHP 5.0.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>strtoupper</function>. </simpara> <example> <title>string.toupper</title> @@ -78,8 +73,8 @@ <?php $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.toupper'); -fwrite($fp, "This is a test.\n"); -/* Outputs: THIS IS A TEST. */ +fwrite($fp, "Toto je test.\n"); +/* Vypí¹e: TOTO JE TEST. */ ?> ]]> </programlisting> @@ -87,9 +82,9 @@ <simpara> <literal>string.tolower</literal> - (since PHP 5.0.0) - Use of this filter is equivalent to processing all stream data through - the <function>strtolower</function> function. + (od PHP 5.0.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>strtolower</function>. </simpara> <example> <title>string.tolower</title> @@ -98,8 +93,8 @@ <?php $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.tolower'); -fwrite($fp, "This is a test.\n"); -/* Outputs: this is a test. */ +fwrite($fp, "Toto je test.\n"); +/* Vypí¹e: toto je test. */ ?> ]]> </programlisting> @@ -107,13 +102,12 @@ <simpara> <literal>string.strip_tags</literal> - (since PHP 5.0.0) - Use of this filter is equivalent to processing all stream data through - the <function>strip_tags</function> function. - It accepts parameters in one of two forms: - Either as a string containing a list of tags similar to the - second parameter of the <function>strip_tags</function> function, - or as an array of tag names. + (od PHP 5.0.0) + Pou¾ití tohoto filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>strip_tags</function>. + Pøijímí parametry v jedné ze dvou forem: + Buï jako øetìzec obsahující seznam znaèek podobný druhému parametru funkce + <function>strip_tags</function>, anebo jako pole názvù znaèek. </simpara> <example> <title>string.strip_tags</title> @@ -122,15 +116,15 @@ <?php $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, "<b><i><u>"); -fwrite($fp, "<b>bolded text</b> enlarged to a <h1>level 1 heading</h1>\n"); +fwrite($fp, "<b>tuèný text</b> se zvìt¹í na <h1>nadpis úrovnì 1</h1>\n"); fclose($fp); -/* Outputs: <b>bolded text</b> enlarged to a level 1 heading */ +/* Vypí¹e: <b>tuèný text</b> se zvìt¹í na nadpis úrovnì 1 */ $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'string.strip_tags', STREAM_FILTER_WRITE, array('b','i','u')); -fwrite($fp, "<b>bolded text</b> enlarged to a <h1>level 1 heading</h1>\n"); +fwrite($fp, "<b>tuèný text</b> se zvìt¹í na <h1>nadpis úrovnì 1</h1>\n"); fclose($fp); -/* Outputs: <b>bolded text</b> enlarged to a level 1 heading */ +/* Vypí¹e: <b>tuèný text</b> se zvìt¹í na nadpis úrovnì 1 */ ?> ]]> </programlisting> @@ -139,29 +133,28 @@ </section> <section id="filters.convert"> - <title>Conversion Filters</title> + <title>Konverzní filtry</title> <simpara> - Like the string.* filters, the convert.* filters perform actions - similar to their names. The convert filters were added with + Podobnì jako filtry string.*, také filtry convert.* provádìjí akce + odpovídající jejich názvùm. Konverzní filtry byly pøidány ve verzi PHP 5.0.0. - For more information on a given filter, refer to the manual page for - the corresponding function. + Pro více informací o daném filtru se podívejte na manuálovou stránku + odpovídající funkce. </simpara> <simpara> - <literal>convert.base64-encode</literal> and + <literal>convert.base64-encode</literal> a <literal>convert.base64-decode</literal> - Use of these filters are equivalent to processing all stream data through - the <function>base64_encode</function> and <function>base64_decode</function> - functions respectively. - <literal>convert.base64-encode</literal> supports parameters given as - an associative array. If <parameter>line-length</parameter> is given, the - base64 output will be split into chunks of <parameter>line-length</parameter> - characters each. If <parameter>line-break-chars</parameter> is given, each - chunk will be delimited by the characters given. These parameters give the - same effect as using <function>base64_encode</function> with - <function>chunk_split</function>. + + Pou¾ití tìchto filtrù je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>base64_encode</function>, resp. <function>base64_decode</function>. + <literal>convert.base64-encode</literal> podporuje parametry poskytnuté jako + asociativní pole. Pokud je dán parametr <parameter>line-length</parameter>, + výstup base64 bude rozdìlen do úsekù o délce <parameter>line-length</parameter> + znakù. Je-li dán parametr <parameter>line-break-chars</parameter>, ka¾dý + úsek bude oddìlen danými znaky. Tyto parametry mají stejný efekt jako + pou¾ití <function>base64_encode</function> s <function>chunk_split</function>. </simpara> <example> <title> @@ -175,14 +168,14 @@ stream_filter_append($fp, 'convert.base64-encode'); fwrite($fp, "This is a test.\n"); fclose($fp); -/* Outputs: VGhpcyBpcyBhIHRlc3QuCg== */ +/* Vypí¹e: VGhpcyBpcyBhIHRlc3QuCg== */ $param = array('line-length' => 8, 'line-break-chars' => "\r\n"); $fp = fopen('php://output', 'w'); stream_filter_append($fp, 'convert.base64-encode', STREAM_FILTER_WRITE, $param); fwrite($fp, "This is a test.\n"); fclose($fp); -/* Outputs: VGhpcyBp +/* Vypí¹e: VGhpcyBp : cyBhIHRl : c3QuCg== */ @@ -190,26 +183,27 @@ stream_filter_append($fp, 'convert.base64-decode'); fwrite($fp, "VGhpcyBpcyBhIHRlc3QuCg=="); fclose($fp); -/* Outputs: This is a test. */ +/* Vypí¹e: This is a test. */ ?> ]]> </programlisting> </example> <simpara> - <literal>convert.quoted-printable-encode</literal> and + <literal>convert.quoted-printable-encode</literal> a <literal>convert.quoted-printable-decode</literal> - Use of the decode version of this filter is equivalent to processing all stream - data through the <function>quoted_printable_decode</function> functions. - There is no function equivalent to <literal>convert.quoted-printable-encode</literal>. - <literal>convert.quoted-printable-encode</literal> supports parameters given as - an associative array. In addition to the parameters supported by - <literal>convert.base64-encode</literal>, <literal>convert.quoted-printable-encode</literal> - also supports boolean arguments <parameter>binary</parameter> and - <parameter>force-encode-first</parameter>. - <literal>convert.base64-decode</literal> only supports the - <parameter>line-break-chars</parameter> parameter as a type-hint - for striping from the encoded payload. + + Pou¾ití dekódovacího filtru je ekvivalentní zpracování ve¹kerých dat ze streamu + funkcí <function>quoted_printable_decode</function>. Filtr + <literal>convert.quoted-printable-encode</literal> nemá ¾ádný funkèní + ekvivalent. <literal>convert.quoted-printable-encode</literal> podporuje + parametry poskytnuté jako asociativní pole. K parametrùm podporovaným filtrem + <literal>convert.base64-encode</literal>, podporuje + <literal>convert.quoted-printable-encode</literal> navíc boolovské argumenty + <parameter>binary</parameter> a <parameter>force-encode-first</parameter>. + <literal>convert.base64-decode</literal> podporuje pouze parametr + <parameter>line-break-chars</parameter> jako pomùcku pro odstranìní + nadbyteèných znakù v zakódovaných datech. </simpara> <example> <title> @@ -230,65 +224,69 @@ </section> <section id="filters.compression"> - <title>Compression Filters</title> + <title>Kompresní filtry</title> <simpara> - While the <link linkend="wrappers.compression">Compression Wrappers</link> - provide a way of creating - gzip and bz2 compatible files on the local filesystem, they do not provide a - means for generalized compression over network streams, nor do they provide a - means to begin with a non-compressed stream and transition to a compressed one. - For this, a compression filter may be applied to any stream resource at any time. + Zatímco <link linkend="wrappers.compression">Kompresní wrappery</link> + poskytují cestu k vytváøení kompatibilních GZIP a BZ2 souborù v místním + souborovém systému, nejsou schopny poskytnout zobecnìnou kompresi sí»ových + streamù, ani mo¾nost zaèít s nekomprimovaným streamem a zmìnit ho na + komprimovaný. Kompresní filtry lze ov¹em kdykoli aplikovat na libovolný + stream. </simpara> <note> <simpara> - Compression filters do <emphasis>not</emphasis> generate headers and trailers - used by commandline utilites such as <literal>gzip</literal>. They only compress - and decompress the payload portions of compressed data streams. + Kompresní filtry <emphasis>negenerují</emphasis> hlavièky a ukonèovací + sekvence, jak to dìlají konzolové utility jako <literal>gzip</literal>. + Pouze komprimují a dekomprimují u¾iteèné èásti datových streamù. </simpara> </note> <simpara> - <literal>zlib.deflate</literal> (compression) and - <literal>zlib.inflate</literal> (decompression) are implementations of - the compression methods described in <ulink url="&url.rfc;1951">RFC 1951</ulink>. - The <literal>deflate</literal> filter takes up to three parameters passed as - an associative array. - - <parameter>level</parameter> describes the compression - strength to use (1-9). Higher numbers will generally yield smaller payloads at - the cost of additional processing time. Two special compression levels also exist: - 0 (for no compression at all), and -1 (zlib internal default -- currently 6). - - <parameter>window</parameter> is the base-2 log of the compression loopback window size. - Higher values (up to 15 -- 32768 bytes) yield better compression at a cost of memory, - while lower values (down to 9 -- 512 bytes) yield worse compression in a smaller memory footprint. - Default <parameter>window</parameter> size is currently <constant>15</constant>. - - <parameter>memory</parameter> is a scale indicating how much work memory should be allocated. - Valid values range from 1 (minimal allocation) to 9 (maximum allocation). This memory allocation - affects speed only and does not impact the size of the generated payload. + <literal>zlib.deflate</literal> (komprese) a + <literal>zlib.inflate</literal> (dekomprese) jsou implementace + kompresních metod popsaných v <ulink url="&url.rfc;1951">RFC 1951</ulink>. + Filtr <literal>deflate</literal> pøijímá a¾ tøi parametry pøedané jako + asociativní pole. + + <parameter>level</parameter> udává, jakou úèinnost komprese pou¾ít (1-9). + Vy¹¹í èísla vedou k men¹ímu objemu dat za cenu del¹ího èasu zpracování. + Existují také dvì speciální kompresní úrovnì: 0 (¾ádná komprese) a -1 + (vnitøní výchozí hodnota zlib - momentálnì 6). + + <parameter>window</parameter> je dvojkový logaritmus velikosti kompresního + okna. Vy¹¹í hodnoty (a¾ 15 -- 32768 B) vedou k lep¹í kompresi pøi vìt¹ích + nárocích na pamì». kde¾to ni¾¹í (od 9 -- 512 B) znamenají hor¹í kompresi + za men¹í spotøeby pamìti. Výchozí hodnota parametru + <parameter>window</parameter> je nyní <constant>15</constant>. + + <parameter>memory</parameter> udává, kolik pamìti by se mìlo alokovat. + Rozsah platných hodnot je od 1 (minimální alokace) do 9 (maximální alokace). + Tato hodnota má vliv pouze na rychlost, neovlivòuje úèinnost komprese. </simpara> <note> <simpara> - Because compression level is the most commonly used parameter, it may be alternatively - provided as a simple integer value (rather than an array element). + Proto¾e úroveò komprese je nejèastìji pou¾ívaným parametrem, lze ji + alternativnì udat také jako obyèejnou celoèíselnou hodnotu (namísto prvku + pole). </simpara> </note> <simpara> - zlib.* compression filters are available with PHP as of version <literal>5.1.0</literal> if - <link linkend="ref.zlib">zlib</link> support is enabled. They are also available as a backport in version - <literal>5.0.x</literal> by installing the <ulink url="&url.pecl.package;zlib_filter">zlib_filter</ulink> - package from <ulink url="&url.pecl;">PECL</ulink>. These filters are <emphasis>not</emphasis> - available for PHP 4. + Kompresní filtry zlib.* jsou k dispozici v PHP od verze <literal>5.1.0</literal>, + pokud je zapnuta podpora <link linkend="ref.zlib">zlib</link>. + Jsou dostupné té¾ jako backport ve verzi <literal>5.0.x</literal> + po nainstalování balíku + <ulink url="&url.pecl.package;zlib_filter">zlib_filter</ulink> z + <ulink url="&url.pecl;">PECL</ulink>. Tyto filtry <emphasis>nejsou</emphasis> + dostupné v PHP 4. </simpara> <example> <title> - <literal>zlib.deflate</literal> and + <literal>zlib.deflate</literal> a <literal>zlib.inflate</literal> </title> <programlisting role="php"> @@ -296,27 +294,27 @@ <?php $params = array('level' => 6, 'window' => 15, 'memory' => 9); -$original_text = "This is a test.\nThis is only a test.\nThis is not an important string.\n"; -echo "The original text is " . strlen($original_text) . " characters long.\n"; +$original_text = "Toto je test.\nToto je pouze test.\nToto není dùle¾itý øetìzec.\n"; +echo "Pùvodní text je " . strlen($original_text) . " znakù dlouhý.\n"; $fp = fopen('test.deflated', 'w'); stream_filter_append($fp, 'zlib.deflate', STREAM_FILTER_WRITE, $params); fwrite($fp, $original_text); fclose($fp); -echo "The compressed file is " . filesize('test.deflated') . " bytes long.\n"; -echo "The original text was:\n"; -/* Use readfile and zlib.inflate to decompress on the fly */ +echo "Komprimovaný soubor je " . filesize('test.deflated') . " B velký.\n"; +echo "Pùvodní text byl:\n"; +/* Pou¾ij readfile a zlib.inflate k dekompresi "za letu" */ readfile('php://filter/zlib.inflate/resource=test.deflated'); -/* Generates output: +/* Vygeneruje výstup: -The original text is 70 characters long. -The compressed file is 56 bytes long. -The original text was: -This is a test. -This is only a test. -This is not an important string. +Pùvodní text je 70 znakù dlouhý. +Komprimovaný soubor je 56 B velký. +Pùvodní text byl: +Toto je test. +Toto je pouze test. +Toto není dùle¾itý øetìzec. */ ?> @@ -331,20 +329,20 @@ <programlisting role="php"> <![CDATA[ <?php -$original_text = "Toto je test.\nToto je pouze test.\nToto není d?le?itý ?et?zec.\n"; -echo "P?vodní text je " . strlen($original_text) . " znak? dlouhý.\n"; +$original_text = "Toto je test.\nToto je pouze test.\nToto není dùle¾itý øetìzec.\n"; +echo "P?vodní text je " . strlen($original_text) . " znakù dlouhý.\n"; $fp = fopen('test.deflated', 'w'); -/* zde "6" indikuje úrove? komprese 6 */ +/* zde "6" indikuje úroveò komprese 6 */ stream_filter_append($fp, 'zlib.deflate', STREAM_FILTER_WRITE, 6); fwrite($fp, $original_text); fclose($fp); echo "Komprimovaný soubor je " . filesize('test.deflated') . " B velký.\n"; -/* Generates output: +/* Vygeneruje výstup: -P?vodní text je 70 znak? dlouhý. +Pùvodní text je 70 znakù dlouhý. Komprimovaný soubor je 56 B velký. */ @@ -473,7 +471,7 @@ </row> <row> <entry>key</entry> - <entry>npovinný</entry> + <entry>povinný</entry> <entry>N/A</entry> <entry>Typicky 8, 16, nebo 32 B binárních dat. Zále¾í na ¹iføe.</entry> </row> http://cvs.php.net/viewcvs.cgi/phpdoc-cs/docweb/main.ent?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-cs/docweb/main.ent diff -u phpdoc-cs/docweb/main.ent:1.1 phpdoc-cs/docweb/main.ent:1.2 --- phpdoc-cs/docweb/main.ent:1.1 Tue Feb 22 20:41:11 2005 +++ phpdoc-cs/docweb/main.ent Sun Jun 11 19:06:02 2006 @@ -1,11 +1,12 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.17 Maintainer: luk Status: ready --> +<!-- EN-Revision: 1.26 Maintainer: luk Status: ready --> <!-- common --> <!ENTITY docweb.common.title.default 'Dokumentaèní nástroje PHP'> <!ENTITY docweb.common.all 'V¹echno'> <!ENTITY docweb.common.n-a 'N/A'> <!ENTITY docweb.common.and 'a'> +<!ENTITY docweb.common.submit 'Odeslat'> <!-- common.linkname --> <!ENTITY docweb.common.linkname.subsite-homepage 'Homepage podstránek'> @@ -18,6 +19,10 @@ <!ENTITY docweb.common.linkname.translation-info 'Informace k pøekladùm'> <!ENTITY docweb.common.linkname.entities 'Projektové entity'> <!ENTITY docweb.common.linkname.notes-stats 'Statistiky poznámek'> +<!ENTITY docweb.common.linkname.undoc-functions 'Nedokumentované funkce'> +<!ENTITY docweb.common.linkname.missing-examples 'Chybìjící pøíklady'> +<!ENTITY docweb.common.linkname.admin 'Administrátorská zóna'> +<!ENTITY docweb.common.linkname.userlist 'Seznam u¾ivatelù'> <!-- hyperlinks (include markup) --> <!ENTITY docweb.common.link.php-license '<a href="http://php.net/license/">Licence PHP</a>'> @@ -52,7 +57,14 @@ <!ENTITY docweb.common.header.project-doc-bugs 'Chyby v projektu (dokumentaci)'> <!ENTITY docweb.common.header.open-bugs 'otevøené chyby'> <!ENTITY docweb.common.header.entities 'Projektové entity'> +<!ENTITY docweb.common.header.undoc-functions 'Nedokumentované funkce'> +<!ENTITY docweb.common.header.missing-examples 'Chybìjící pøíklady'> <!ENTITY docweb.common.header.login 'Pøihlá¹ení'> +<!ENTITY docweb.common.header.users 'Informace o u¾ivateli'> +<!ENTITY docweb.common.header.users.edit 'Upravit informace o u¾ivateli'> +<!ENTITY docweb.common.header.stats-not-available '&docweb.common.error.stats-not-available;'> +<!ENTITY docweb.common.header.stats-not-available-yet '&docweb.common.error.stats-not-available-yet;'> +<!ENTITY docweb.common.header.notes-stats 'Statistiky správy poznámek'> <!-- common.footer --> <!ENTITY docweb.common.footer.copyright 'Copyright'> @@ -61,6 +73,10 @@ <!ENTITY docweb.common.footer.credits 'Credits'> <!ENTITY docweb.common.footer.contact 'Kontakt'> +<!-- common.error --> +<!ENTITY docweb.common.error.stats-not-available 'Statistiky nejsou k dispozici'> +<!ENTITY docweb.common.error.stats-not-available-yet '&docweb.common.error.stats-not-available; (zatím)'> + <!-- home --> <!ENTITY docweb.home.header.what-is 'K èemu je tato stránka?'> <!ENTITY docweb.home.text.what-is "Existují rùzné dokumentaèní týmy, které @@ -120,7 +136,20 @@ <!ENTITY docweb.login.text '<strong>Poznámka:</strong> Pokud chcete pouze prohlí¾et tyto stránky, nemusíte se pøihla¹ovat. Pro v¹echny operace vy¾adující autentizaci budete automaticky pøesmìrováni na tento formuláø.'> - + +<!-- user page --> +<!ENTITY docweb.users.username 'U¾ivatelské jméno'> +<!ENTITY docweb.users.name 'Skuteèné jméno'> +<!ENTITY docweb.users.country 'Zemì'> +<!ENTITY docweb.users.website 'Webové stránky'> +<!ENTITY docweb.users.wishlist 'Seznam pøání'> +<!ENTITY docweb.users.photo 'Foto u¾ivatele'> +<!ENTITY docweb.users.succes 'Vá¹ profil byl aktualizován'> +<!ENTITY docweb.users.delete-photo 'Smazat aktuální foto?'> +<!ENTITY docweb.users.error.size 'Pou¾ijte prosím foto o velikosti do 300 KB'> +<!ENTITY docweb.users.error.format 'Zajistìte prosím, aby va¹e foto bylo ve formátu JPG a maximálnì 500x500'> +<!ENTITY docweb.users.error.notyou 'Mù¾ete upravovat pouze svùj vlastní profil'> + <!-- error codes --> <!ENTITY docweb.error.404 'Soubor nenalezen'> <!ENTITY docweb.error.nomesg 'Není k dispozici ¾ádná zpráva.'> @@ -137,3 +166,6 @@ <!ENTITY docweb.checkent.result.http-internal-error 'Vnitøní chyba (HTTP)'> <!ENTITY docweb.checkent.result.http-not-found 'Prostøedek nenalezen (HTTP)'> +<!-- notes stats --> +<!ENTITY docweb.notes-stats.last-updated 'Poslední aktualizace:'> + http://cvs.php.net/viewcvs.cgi/phpdoc-cs/appendices/tokens.xml?view=markup&rev=1.1 Index: phpdoc-cs/appendices/tokens.xml +++ phpdoc-cs/appendices/tokens.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.23 Maintainer: luk Status: ready --> <appendix id="tokens"> <title>Seznam tokenù parseru</title> <para> Rùzné èásti jazyka PHP jsou vnitønì reprezentovány typy jako T_SR. PHP vypisuje identifikátory, jako je tento, v parsovacích chybách, jako: <literal>"Parse error: unexpected T_SR, expecting ',' or ';' in script.php on line 10."</literal> </para> <para> Pøedpokládá se, ¾e víte, co T_SR znamená. Pro ka¾dého, kdo to neví, je zde tabulka tìchto identifikátorù, PHP syntaxe a odkazy na pøíslu¹ná místa v manulálu. </para> <table> <title>Tokeny</title> <tgroup cols="3"> <thead> <row> <entry>Token</entry> <entry>Syntaxe</entry> <entry>Odkaz</entry> </row> </thead> <tbody> <row> <entry>T_ABSTRACT</entry> <entry>abstract</entry> <entry><xref linkend="language.oop5.abstract"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_AND_EQUAL</entry> <entry>&=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_ARRAY</entry> <entry>array()</entry> <entry><function>array</function>, <link linkend="language.types.array.syntax">syntaxe pole</link></entry> </row> <row> <entry>T_ARRAY_CAST</entry> <entry>(array)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_AS</entry> <entry>as</entry> <entry><link linkend="control-structures.foreach">foreach</link></entry> </row> <row> <entry>T_BAD_CHARACTER</entry> <entry></entry> <entry>cokoliv pod ASCII 32 kromì \t (0x09), \n (0x0a) a \r (0x0d)</entry> </row> <row> <entry>T_BOOLEAN_AND</entry> <entry>&&</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_BOOLEAN_OR</entry> <entry>||</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_BOOL_CAST</entry> <entry>(bool) or (boolean)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_BREAK</entry> <entry>break</entry> <entry><link linkend="control-structures.break">break</link></entry> </row> <row> <entry>T_CASE</entry> <entry>case</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_CATCH</entry> <entry>catch</entry> <entry><xref linkend="language.exceptions"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_CHARACTER</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_CLASS</entry> <entry>class</entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_CLONE</entry> <entry>clone</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_CLOSE_TAG</entry> <entry>?> nebo %></entry> <entry></entry> </row> <row> <entry>T_COMMENT</entry> <entry>// or #, a /* */ v PHP 5</entry> <entry><link linkend="language.basic-syntax.comments">komentáøe</link></entry> </row> <row> <entry>T_CONCAT_EQUAL</entry> <entry>.=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_CONST</entry> <entry>const</entry> <entry></entry> </row> <row> <entry>T_CONSTANT_ENCAPSED_STRING</entry> <entry>"foo" or 'bar'</entry> <entry><link linkend="language.types.string.syntax">syntaxe øetìzcù</link></entry> </row> <row> <entry>T_CONTINUE</entry> <entry>continue</entry> <entry></entry> </row> <row> <entry>T_CURLY_OPEN</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_DEC</entry> <entry>--</entry> <entry><link linkend="language.operators.increment">inkrementaèní/dekrementaèní operátory</link></entry> </row> <row> <entry>T_DECLARE</entry> <entry>declare</entry> <entry><link linkend="control-structures.declare">declare</link></entry> </row> <row> <entry>T_DEFAULT</entry> <entry>default</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_DIV_EQUAL</entry> <entry>/=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazenís</link></entry> </row> <row> <entry>T_DNUMBER</entry> <entry>0.12, etc</entry> <entry><link linkend="language.types.float">èísla v plovoucí øádové èárce</link></entry> </row> <row> <entry>T_DOC_COMMENT</entry> <entry>/** */</entry> <entry><link linkend="language.basic-syntax.comments">komentáøe stylu PHPDoc</link> (pouze PHP 5)</entry> </row> <row> <entry>T_DO</entry> <entry>do</entry> <entry><link linkend="control-structures.do.while">do..while</link></entry> </row> <row> <entry>T_DOLLAR_OPEN_CURLY_BRACES</entry> <entry>${</entry> <entry><link linkend="language.types.string.parsing.complex">parsovaná syntaxe komplexní promìnné</link></entry> </row> <row> <entry>T_DOUBLE_ARROW</entry> <entry>=></entry> <entry><link linkend="language.types.array.syntax">syntaxe pole</link></entry> </row> <row> <entry>T_DOUBLE_CAST</entry> <entry>(real), (double) nebo (float)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_DOUBLE_COLON</entry> <entry>::</entry> <entry>viz <constant>T_PAAMAYIM_NEKUDOTAYIM</constant> ní¾e</entry> </row> <row> <entry>T_ECHO</entry> <entry>echo</entry> <entry><function>echo</function></entry> </row> <row> <entry>T_ELSE</entry> <entry>else</entry> <entry><link linkend="control-structures.else">else</link></entry> </row> <row> <entry>T_ELSEIF</entry> <entry>elseif</entry> <entry><link linkend="control-structures.elseif">elseif</link></entry> </row> <row> <entry>T_EMPTY</entry> <entry>empty</entry> <entry><function>empty</function></entry> </row> <row> <entry>T_ENCAPSED_AND_WHITESPACE</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_ENDDECLARE</entry> <entry>enddeclare</entry> <entry><link linkend="control-structures.declare">declare</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDFOR</entry> <entry>endfor</entry> <entry><link linkend="control-structures.for">for</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDFOREACH</entry> <entry>endforeach</entry> <entry><link linkend="control-structures.foreach">foreach</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDIF</entry> <entry>endif</entry> <entry><link linkend="control-structures.if">if</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDSWITCH</entry> <entry>endswitch</entry> <entry><link linkend="control-structures.switch">switch</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_ENDWHILE</entry> <entry>endwhile</entry> <entry><link linkend="control-structures.while">while</link>, <link linkend="control-structures.alternative-syntax">alternativní syntaxe</link></entry> </row> <row> <entry>T_END_HEREDOC</entry> <entry></entry> <entry><link linkend="language.types.string.syntax.heredoc">syntaxe heredoc</link></entry> </row> <row> <entry>T_EVAL</entry> <entry>eval()</entry> <entry><function>eval</function></entry> </row> <row> <entry>T_EXIT</entry> <entry>exit or die</entry> <entry><function>exit</function>, <function>die</function></entry> </row> <row> <entry>T_EXTENDS</entry> <entry>extends</entry> <entry><link linkend="keyword.extends">extends</link>, <link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_FILE</entry> <entry>__FILE__</entry> <entry><link linkend="language.constants">konstanty</link></entry> </row> <row> <entry>T_FINAL</entry> <entry>final</entry> <entry><xref linkend="language.oop5.final"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_FOR</entry> <entry>for</entry> <entry><link linkend="control-structures.for">for</link></entry> </row> <row> <entry>T_FOREACH</entry> <entry>foreach</entry> <entry><link linkend="control-structures.foreach">foreach</link></entry> </row> <row> <entry>T_FUNCTION</entry> <entry>function or cfunction</entry> <entry><link linkend="language.functions">funkce</link></entry> </row> <row> <entry>T_GLOBAL</entry> <entry>global</entry> <entry><link linkend="language.variables.scope">rozsah platnosti promìnných</link></entry> </row> <row> <entry>T_HALT_COMPILER</entry> <entry>__halt_compiler()</entry> <entry><xref linkend="function.halt-compiler"/> (k dispozici od PHP 5.1.0)</entry> </row> <row> <entry>T_IF</entry> <entry>if</entry> <entry><link linkend="control-structures.if">if</link></entry> </row> <row> <entry>T_IMPLEMENTS</entry> <entry>implements</entry> <entry><xref linkend="language.oop5.interfaces"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_INC</entry> <entry>++</entry> <entry><link linkend="language.operators.increment">inkrementaèní/dekrementaèní operátory</link></entry> </row> <row> <entry>T_INCLUDE</entry> <entry>include()</entry> <entry><function>include</function></entry> </row> <row> <entry>T_INCLUDE_ONCE</entry> <entry>include_once()</entry> <entry><function>include_once</function></entry> </row> <row> <entry>T_INLINE_HTML</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_INSTANCEOF</entry> <entry>instanceof</entry> <entry><link linkend="language.operators.type">typové operátory</link> (pouze PHP5)</entry> </row> <row> <entry>T_INT_CAST</entry> <entry>(int) nebo (integer)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_INTERFACE</entry> <entry>interface</entry> <entry><xref linkend="language.oop5.interfaces"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_ISSET</entry> <entry>isset()</entry> <entry><function>isset</function></entry> </row> <row> <entry>T_IS_EQUAL</entry> <entry>==</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_GREATER_OR_EQUAL</entry> <entry>>=</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_IDENTICAL</entry> <entry>===</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_NOT_EQUAL</entry> <entry>!= or <></entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_NOT_IDENTICAL</entry> <entry>!==</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_IS_SMALLER_OR_EQUAL</entry> <entry><=</entry> <entry><link linkend="language.operators.comparison">porovnávací operátory</link></entry> </row> <row> <entry>T_LINE</entry> <entry>__LINE__</entry> <entry><link linkend="language.constants">konstanty</link></entry> </row> <row> <entry>T_LIST</entry> <entry>list()</entry> <entry><function>list</function></entry> </row> <row> <entry>T_LNUMBER</entry> <entry>123, 012, 0x1ac, atd.</entry> <entry><link linkend="language.types.integer">celá èísla</link></entry> </row> <row> <entry>T_LOGICAL_AND</entry> <entry>and</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_LOGICAL_OR</entry> <entry>or</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_LOGICAL_XOR</entry> <entry>xor</entry> <entry><link linkend="language.operators.logical">logické operátory</link></entry> </row> <row> <entry>T_MINUS_EQUAL</entry> <entry>-=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_ML_COMMENT</entry> <entry>/* a */</entry> <entry><link linkend="language.basic-syntax.comments">komentáøe</link> (pouze PHP 4)</entry> </row> <row> <entry>T_MOD_EQUAL</entry> <entry>%=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_MUL_EQUAL</entry> <entry>*=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_NEW</entry> <entry>new</entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_NUM_STRING</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_OBJECT_CAST</entry> <entry>(object)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_OBJECT_OPERATOR</entry> <entry>-></entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_OLD_FUNCTION</entry> <entry>old_function</entry> <entry><link linkend="migration.old-function">old_function</link></entry> </row> <row> <entry>T_OPEN_TAG</entry> <entry><?php, <? nebo <%</entry> <entry><link linkend="language.basic-syntax.phpmode">pøechod z HTML</link></entry> </row> <row> <entry>T_OPEN_TAG_WITH_ECHO</entry> <entry><?= nebo <%=</entry> <entry><link linkend="language.basic-syntax.phpmode">pøechod z HTML</link></entry> </row> <row> <entry>T_OR_EQUAL</entry> <entry>|=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_PAAMAYIM_NEKUDOTAYIM</entry> <entry>::</entry> <entry><link linkend="keyword.paamayim-nekudotayim">::</link>. Definováno také jaké <constant>T_DOUBLE_COLON</constant>.</entry> </row> <row> <entry>T_PLUS_EQUAL</entry> <entry>+=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_PRINT</entry> <entry>print()</entry> <entry><function>print</function></entry> </row> <row> <entry>T_PRIVATE</entry> <entry>private</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_PUBLIC</entry> <entry>public</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_PROTECTED</entry> <entry>protected</entry> <entry><link linkend="language.oop5">tøídy a objekty</link>. Pouze PHP 5.</entry> </row> <row> <entry>T_REQUIRE</entry> <entry>require()</entry> <entry><function>require</function></entry> </row> <row> <entry>T_REQUIRE_ONCE</entry> <entry>require_once()</entry> <entry><function>require_once</function></entry> </row> <row> <entry>T_RETURN</entry> <entry>return</entry> <entry><link linkend="functions.returning-values">návratové hodnoty</link></entry> </row> <row> <entry>T_SL</entry> <entry><<</entry> <entry><link linkend="language.operators.bitwise">bitové operátory</link></entry> </row> <row> <entry>T_SL_EQUAL</entry> <entry><<=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_SR</entry> <entry>>></entry> <entry><link linkend="language.operators.bitwise">bitové operátory</link></entry> </row> <row> <entry>T_SR_EQUAL</entry> <entry>>>=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_START_HEREDOC</entry> <entry><<<</entry> <entry><link linkend="language.types.string.syntax.heredoc">syntaxe heredoc</link></entry> </row> <row> <entry>T_STATIC</entry> <entry>static</entry> <entry><link linkend="language.variables.scope">rozsah platnosti promìnných</link></entry> </row> <row> <entry>T_STRING</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_STRING_CAST</entry> <entry>(string)</entry> <entry><link linkend="language.types.typecasting">pøetypování</link></entry> </row> <row> <entry>T_STRING_VARNAME</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_SWITCH</entry> <entry>switch</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> <entry>T_THROW</entry> <entry>throw</entry> <entry><xref linkend="language.exceptions"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_TRY</entry> <entry>try</entry> <entry><xref linkend="language.exceptions"/> (k dispozici od PHP 5.0.0)</entry> </row> <row> <entry>T_UNSET</entry> <entry>unset()</entry> <entry><function>unset</function></entry> </row> <row> <entry>T_UNSET_CAST</entry> <entry>(unset)</entry> <entry>(not documented; pøetypuje na &null;)</entry> </row> <row> <entry>T_USE</entry> <entry>use</entry> <entry>(neimplementováno)</entry> </row> <row> <entry>T_VAR</entry> <entry>var</entry> <entry><link linkend="language.oop">tøídy a objekty</link></entry> </row> <row> <entry>T_VARIABLE</entry> <entry>$foo</entry> <entry><link linkend="language.variables">promìnné</link></entry> </row> <row> <entry>T_WHILE</entry> <entry>while</entry> <entry><link linkend="control-structures.while">while</link>, <link linkend="control-structures.do.while">do..while</link></entry> </row> <row> <entry>T_WHITESPACE</entry> <entry></entry> <entry></entry> </row> <row> <entry>T_XOR_EQUAL</entry> <entry>^=</entry> <entry><link linkend="language.operators.assignment">operátory pøiøazení</link></entry> </row> <row> <entry>T_FUNC_C</entry> <entry>__FUNCTION__</entry> <entry><link linkend="language.constants">konstanty</link>, od PHP 4.3.0</entry> </row> <row> <entry>T_CLASS_C</entry> <entry>__CLASS__</entry> <entry><link linkend="language.constants">konstanty</link>, od PHP 4.3.0</entry> </row> </tbody> </tgroup> </table> <para> Viz také <function>token_name</function>. </para> </appendix> <!-- 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 -->