costra Thu May 30 18:24:54 2002 EDT Modified files: /phpdoc-cs/reference/mysql/functions mysql-fetch-field.xml mysql-field-flags.xml mysql-field-len.xml mysql-field-name.xml mysql-field-seek.xml mysql-field-table.xml mysql-field-type.xml mysql-free-result.xml mysql-get-client-info.xml mysql-get-host-info.xml mysql-get-proto-info.xml mysql-get-server-info.xml mysql-query.xml mysql-result.xml mysql-select-db.xml mysql-tablename.xml mysql-unbuffered-query.xml Log: Translation update.
Index: phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-fetch-field.xml Thu May 30 18:24:53 +2002 @@ -15,7 +15,7 @@ <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter> - field_offset + poradi_sloupce </parameter></methodparam> </methodsynopsis> <para> @@ -24,8 +24,8 @@ <para> <function>mysql_fetch_field</function> můžete použít v případě, že potřebujete získat informace o sloupci z určitého výsledku. Není-li -specifikován název sloupce, funkce načte informace o prvním následujícím ještě -nenačteném sloupci.</para> +specifikováno pořadí sloupce (počítáno do nuly), funkce načte informace o prvním +následujícím ještě nenačteném sloupci.</para> <para> Vlastnosti objektu jsou: <itemizedlist> Index: phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-field-flags.xml Thu May 30 18:24:53 +2002 @@ -15,9 +15,9 @@ <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> - <methodparam><type>int</type><parameter>nazev_sloupce</parameter></methodparam> - </methodsynopsis> - <para> + +<methodparam><type>int</type><parameter>číslo_sloupce</parameter></methodparam> +</methodsynopsis> <para> <function>mysql_field_flags</function> vrací další informace o uvedeném sloupci tabulky. Každý příznak je reprezentován jedním slovem a jsou od sebe odděleny mezerou tak, že lze výstup snadno rozdělit pomocí funkce Index: phpdoc-cs/reference/mysql/functions/mysql-field-len.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-field-len.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-field-len.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-field-len.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-field-len.xml Thu May 30 18:24:53 +2002 @@ -15,9 +15,9 @@ <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> - <methodparam><type>int</type><parameter>jmeno_sloupce</parameter></methodparam> - </methodsynopsis> - <para> + +<methodparam><type>int</type><parameter>číslo_sloupce</parameter></methodparam> +</methodsynopsis> <para> <function>mysql_field_len</function> Vrací délku uvedeného sloupce v tabulce. </para> Index: phpdoc-cs/reference/mysql/functions/mysql-field-name.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-field-name.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-field-name.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-field-name.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-field-name.xml Thu May 30 18:24:53 +2002 @@ -15,9 +15,9 @@ <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> - <methodparam><type>int</type><parameter>číslo_sloupce</parameter></methodparam> - </methodsynopsis> - <para> + +<methodparam><type>int</type><parameter>číslo_sloupce</parameter></methodparam> +</methodsynopsis> <para> <function>mysql_field_name</function> vrací jméno uvedeného sloupce v tabulce. <parameter>výsledek</parameter> musí být platný identifikátor spojení a <parameter>číslo_sloupce</parameter> je pořadí sloupce v Index: phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-field-seek.xml Thu May 30 18:24:53 +2002 @@ -15,12 +15,12 @@ <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> - <methodparam><type>int</type><parameter>field_offset</parameter></methodparam> + <methodparam><type>int</type><parameter>číslo sloupce</parameter></methodparam> </methodsynopsis> <para> Nastaví ukazatel na určený sloupec. Pokud následující volání funkce - <function>mysql_fetch_field</function> nemá zadán druhý parametr (název -sloupce), vrátí informace o sloupci určeném právě v + <function>mysql_fetch_field</function> nemá zadán druhý parametr +(číselné pořadí sloupce), vrátí informace o sloupci určeném právě v <function>mysql_field_seek</function>. </para> <para> Viz. také: <function>mysql_fetch_field</function>. Index: phpdoc-cs/reference/mysql/functions/mysql-field-table.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-field-table.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-field-table.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-field-table.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-field-table.xml Thu May 30 18:24:53 +2002 @@ -15,7 +15,7 @@ <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> - <methodparam><type>int</type><parameter>název_sloupce</parameter></methodparam> + <methodparam><type>int</type><parameter>číslo_sloupce</parameter></methodparam> </methodsynopsis> <para> Vrátí jméno tabulky, která obsahuje uvedený sloupec. Index: phpdoc-cs/reference/mysql/functions/mysql-field-type.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-field-type.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-field-type.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-field-type.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-field-type.xml Thu May 30 18:24:53 +2002 @@ -16,7 +16,7 @@ <methodparam><type>iresource</type><parameter>výsledek</parameter></methodparam > - <methodparam><type>int</type><parameter>název_sloupce</parameter></methodparam> + <methodparam><type>int</type><parameter>číslo_sloupce</parameter></methodparam> </methodsynopsis> <para> <function>mysql_field_type</function> je podobná funkci Index: phpdoc-cs/reference/mysql/functions/mysql-free-result.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-free-result.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-free-result.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-free-result.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-free-result.xml Thu May 30 18:24:53 +2002 @@ -18,10 +18,10 @@ definovaným identifikátorem spojení <parameter>výsledek</parameter>. </para> <para> - <function>mysql_free_result</function> je vhodné použivat pouze v případě, + <function>mysql_free_result</function> je vhodné používat pouze v případě, že vám záleží na tom, jak moc paměti je v průběhu skriptu použíto pro vykonaný -dotaz a když výsledek dotazu je příliš velký. Všechna pamět obsazená výsledky -spojení bude jinak automaticky ulovněna s koncem běhu skriptu. +dotaz a když výsledek dotazu je příliš velký. Všechna paměť obsazená výsledky +spojení bude jinak automaticky ulovněna až s koncem běhu skriptu. <!-- TODO and as of PHP4 before, see freeing resources --> </para> <para> &return.success; </para> <para> Index: phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-get-client-info.xml Thu May 30 +18:24:53 2002 @@ -13,7 +13,7 @@ <void/> </methodsynopsis> <para> - <function>mysql_get_client_info</function> vrátí řetězec obsahující verzi + <function>mysql_get_client_info</function> vrací řetězec obsahující verzi používané klientské knihovny MySQL. </para> <para> Index: phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-get-host-info.xml Thu May 30 18:24:53 +2002 @@ -4,7 +4,7 @@ <refentry id="function.mysql-get-host-info"> <refnamediv> <refname>mysql_get_host_info</refname> - <refpurpose>Načte informaci o host v MySQL</refpurpose> + <refpurpose>Načte informaci o hostu v MySQL</refpurpose> </refnamediv> <refsect1> <title>Popis</title> Index: phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-get-proto-info.xml Thu May 30 +18:24:53 2002 @@ -4,7 +4,7 @@ <refentry id="function.mysql-get-proto-info"> <refnamediv> <refname>mysql_get_proto_info</refname> - <refpurpose>Načte informace o protokolu MySQL</refpurpose> + <refpurpose>Načte informaci o protokolu MySQL</refpurpose> </refnamediv> <refsect1> <title>Popis</title> Index: phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml:1.2 Tue May 28 18:24:04 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-get-server-info.xml Thu May 30 +18:24:53 2002 @@ -14,7 +14,7 @@ choice="opt"><type>resource</type><parameter>spojeni</parameter></methodparam> </methodsynopsis> <para> - <function>mysql_get_server_info</function> vrátí verzi serveru v použitém + <function>mysql_get_server_info</function> vrací verzi serveru v použitém <parameter>spojeni</parameter>. Pokud je <parameter>spojeni</parameter> vynecháno, použije se posledně otevřené spojení. Index: phpdoc-cs/reference/mysql/functions/mysql-query.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-query.xml:1.2 phpdoc-cs/reference/mysql/functions/mysql-query.xml:1.3 --- phpdoc-cs/reference/mysql/functions/mysql-query.xml:1.2 Wed May 29 18:14:32 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-query.xml Thu May 30 18:24:53 2002 @@ -80,7 +80,7 @@ funkce <function>mysql_fetch_array</function> a dalších funkcí pro zpracování výsledků dotazu. Nepotřebujete-li již obsah výsledku dotazu, můžete uvolnit pamět voláním funkce <function>mysql_free_result</function>. Nicméně pamět bude -uvolněna automaticky na konci běhu skriptu. </para> +stejně uvolněna automaticky na konci běhu skriptu. </para> <para> Viz. také: <function>mysql_num_rows</function> <function>mysql_affected_rows</function>, Index: phpdoc-cs/reference/mysql/functions/mysql-result.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-result.xml:1.1 phpdoc-cs/reference/mysql/functions/mysql-result.xml:1.2 --- phpdoc-cs/reference/mysql/functions/mysql-result.xml:1.1 Sun Apr 14 19:47:11 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-result.xml Thu May 30 18:24:53 +2002 @@ -4,13 +4,13 @@ <refentry id="function.mysql-result"> <refnamediv> <refname>mysql_result</refname> - <refpurpose>Načte výslednou hodnotu jedné položky</refpurpose> + <refpurpose>Načte obsah jednoho sloupce tabulky</refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>mysql_result</methodname> - + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>záznam</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter> @@ -18,30 +18,28 @@ </parameter></methodparam> </methodsynopsis> <para> - <function>mysql_result</function> returns the contents of one - cell from a MySQL result set. The field argument can be the - field's offset, or the field's name, or the field's table dot - field name (tablename.fieldname). If the column name has been - aliased ('select foo as bar from...'), use the alias instead of - the column name. + <function>mysql_result</function> vrací záznamy jednoho sloupce z +výsledku MySQL. Argumenty mohou být číslo sloupce, jméno sloupce, jméno tabulky +nebo jméno tabulky tečka jméno sloupce (tabulka.sloupec). Má-li některý sloupec +jmenný alias (SELECT muj_sloupec as tvuj_sloupec FROM ...), používejte alias +namísto jméno sloupce. </para> <para> - When working on large result sets, you should consider using one - of the functions that fetch an entire row (specified below). As - these functions return the contents of multiple cells in one - function call, they're MUCH quicker than - <function>mysql_result</function>. Also, note that specifying a - numeric offset for the field argument is much quicker than - specifying a fieldname or tablename.fieldname argument. +Pokud pracujete s velkými záznamy, měli byste uvážit použití jedné z funkcí, +které vrací úplně celý záznam (všechny sloupce specifikované v dotazu SELECT +najednou), protože tyto funkce vrací celý výsledek v jednom volání funkce a jsou +proto MNOHEM rychlejší než <function>mysql_result</function>. +Dále je nutné podotknout, že jako argument sloupce je mnohem rychlejší uvést +číselný identifikátor než jméno sloupce či zápis tabulka.sloupec. </para> <para> - Calls to <function>mysql_result</function> should not be mixed - with calls to other functions that deal with the result set. - </para> - <para> - Recommended high-performance alternatives: + Volání funkce <function>mysql_result</function> by nemělo být mícháno +s voláním jiných funkcí, protože by došlo k dělení záznamů z výsledku. +</para> +<para> + Doporučené vysoce výkonné alternativy:: <function>mysql_fetch_row</function>, - <function>mysql_fetch_array</function>, and + <function>mysql_fetch_array</function> a <function>mysql_fetch_object</function>. </para> </refsect1> Index: phpdoc-cs/reference/mysql/functions/mysql-select-db.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-select-db.xml:1.1 phpdoc-cs/reference/mysql/functions/mysql-select-db.xml:1.2 --- phpdoc-cs/reference/mysql/functions/mysql-select-db.xml:1.1 Sun Apr 14 19:47:12 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-select-db.xml Thu May 30 18:24:53 +2002 @@ -4,7 +4,7 @@ <refentry id="function.mysql-select-db"> <refnamediv> <refname>mysql_select_db</refname> - <refpurpose>Vybere MySQL databázi</refpurpose> + <refpurpose>Nastaví MySQL databázi</refpurpose> </refnamediv> <refsect1> <title>Popis</title> @@ -19,12 +19,11 @@ &return.success; </para> <para> - <function>mysql_select_db</function> sets the current active - database on the server that's associated with the specified link - identifier. If no link identifier is specified, the last opened - link is assumed. If no link is open, the function will try to - establish a link as if <function>mysql_connect</function> was - called without arguments, and use it. + <function>mysql_select_db</function> nastaví aktuální databázi na +serveru a asocijuje ji s uvedeným identifikátorem spojení. Není-li identifikátor +spojení uveden, použije posledně otevřené spojení. Není-li žádné spojení +otevřeno, funkce se jej pokusí vytvořit tak, jakoby byla volána funkce +<function>mysql_connect</function> bez parametrů. </para> <para> Every subsequent call to <function>mysql_query</function> will be @@ -36,8 +35,9 @@ <function>mysql_query</function>. </para> <para> - For downward compatibility <function>mysql_selectdb</function> - can also be used. This is deprecated however. + Z důvodů zpětné kompatibility můžete také narazit na funkci +<function>mysql_selectdb</function>. Tuto funkci však nedoporučujeme používat, +neboť nemusí být již v dalších verzích PHP podporována. </para> </refsect1> </refentry> Index: phpdoc-cs/reference/mysql/functions/mysql-tablename.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-tablename.xml:1.1 phpdoc-cs/reference/mysql/functions/mysql-tablename.xml:1.2 --- phpdoc-cs/reference/mysql/functions/mysql-tablename.xml:1.1 Sun Apr 14 19:47:12 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-tablename.xml Thu May 30 18:24:53 +2002 @@ -10,18 +10,17 @@ <title>Popis</title> <methodsynopsis> <type>string</type><methodname>mysql_tablename</methodname> - + <methodparam><type>resource</type><parameter>výsledek</parameter></methodparam> <methodparam><type>int</type><parameter>i</parameter></methodparam> </methodsynopsis> <para> - <function>mysql_tablename</function> takes a result pointer - returned by the <function>mysql_list_tables</function> function - as well as an integer index and returns the name of a table. The - <function>mysql_num_rows</function> function may be used to - determine the number of tables in the result pointer. - <example> - <title><function>mysql_tablename</function> Example</title> + <function>mysql_tablename</function> vezme identifikátor výsledku vrácený + funkcí <function>mysql_list_tables</function>, což je celočíslený index a +vrátí jméno tabulky. K určení celočísleného indexu může být pouřžita funkce +<function>mysql_num_rows</function>. + <example> + <title><function>mysql_tablename</function> Příklad</title> <programlisting role="php"> <![CDATA[ <?php Index: phpdoc-cs/reference/mysql/functions/mysql-unbuffered-query.xml diff -u phpdoc-cs/reference/mysql/functions/mysql-unbuffered-query.xml:1.1 phpdoc-cs/reference/mysql/functions/mysql-unbuffered-query.xml:1.2 --- phpdoc-cs/reference/mysql/functions/mysql-unbuffered-query.xml:1.1 Sun Apr 14 19:47:12 2002 +++ phpdoc-cs/reference/mysql/functions/mysql-unbuffered-query.xml Thu May 30 +18:24:53 2002 @@ -5,39 +5,36 @@ <refnamediv> <refname>mysql_unbuffered_query</refname> <refpurpose> - Pošle SQL dotaz MySQL bez vykonání a načtení výsledných záznamů + Pošle SQL dotaz bez načtení a bufferování výsledných záznamů </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>resource</type><methodname>mysql_unbuffered_query</methodname> - <methodparam><type>string</type><parameter>query</parameter></methodparam> + <methodparam><type>string</type><parameter>dotaz</parameter></methodparam> <methodparam choice="opt"><type>resource</type><parameter>spojeni</parameter></methodparam> </methodsynopsis> <para> - <function>mysql_unbuffered_query</function> sends a SQL query - <parameter>query</parameter> to MySQL, without fetching and - buffering the result rows automatically, as - <function>mysql_query</function> does. On the one hand, this - saves a considerable amount of memory with SQL queries that - produce large result sets. On the other hand, you can start - working on the result set immediately after the first row has - been retrieved: you don't have to wait until the complete SQL - query has been performed. When using multiple DB-connects, you - have to specify the optional parameter - <parameter>spojeni</parameter>. + <function>mysql_unbuffered_query</function> pošle SQL dotaz + <parameter>dotaz</parameter> do MySQL bez načtení a bufferování výsledných +záznamů automaticky, jako to dělá funce +<function>mysql_query</function>. Na jednu stranu toto chování ušetří značné +množství použité paměti u SQL dotazů, které vytvářejí rozsáhlé výsledky. Na +druhou stranu můžete začít pracovat na výsledku okamžitě po prvním záznamu, +který byl vrácen; tj. nemusíte čekat dokud nebude proveden celý SQL dotaz. +Použijete-li přepínač DB-connects, můžete zadat volitelný parametr +<parameter>spojeni</parameter>. </para> <note> <para> - The benefits of <function>mysql_unbuffered_query</function> come - at a cost: You cannot use <function>mysql_num_rows</function> on - a result set returned from - <function>mysql_unbuffered_query</function>. You also have to - fetch all result rows from an unbuffered SQL query, before you - can send a new SQL query to MySQL. - </para> + Výhoda <function>mysql_unbuffered_query</function> něco stojí: Nemůžete +používat funkci <function>mysql_num_rows</function> k zjištění počtu +záznamů vrácených pomocí <function>mysql_unbuffered_query</function>. Dále také +musíte načíst všechny záznamy vracené nebufferovaným dotazem předtím, než +pošlete nový SQL dotaz do MySQL. +</para> </note> <para> Viz. také: <function>mysql_query</function>.