cvs: 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
| From: | Pavel Novak | Date: | Thu, 30 May 2002 22:24:54 +0000 |
| Subject: | cvs: 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 |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969346023@lists.php.net to get a copy of this message | ||
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>.
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>.