cvs: phpdoc-hu /reference/mysqli/functions mysqli-change-user.xml mysqli-data-seek.xml mysqli-free-result.xml mysqli-get-client-version.xml mysqli-get-proto-info.xml mysqli-get-server-info.xml mysqli-get-server-version.xml mysqli-init.xml mysqli-insert-id.xml mysqli-more-results.xml mysqli-num-fields.xml mysqli-num-rows.xml mysqli-options.xml mysqli-stmt-close.xml mysqli-stmt-init.xml mysqli-stmt-reset.xml mysqli-stmt-send-long-data.xml
[email protected] ("Lajos Cseppent?")
| Newsgroups | php.doc.hu |
|---|---|
| Message-ID | <cvschappy1174159095@cvsserver> |
chappy Sat Mar 17 19:18:15 2007 UTC
Added files:
/phpdoc-hu/reference/mysqli/functions mysqli-change-user.xml
mysqli-free-result.xml
mysqli-get-client-version.xml
mysqli-get-proto-info.xml
mysqli-get-server-info.xml
mysqli-get-server-version.xml
mysqli-init.xml
mysqli-insert-id.xml
mysqli-more-results.xml
mysqli-num-fields.xml
mysqli-options.xml
mysqli-stmt-close.xml
mysqli-stmt-init.xml
mysqli-stmt-reset.xml
mysqli-stmt-send-long-data.xml
Modified files:
/phpdoc-hu/reference/mysqli/functions mysqli-data-seek.xml
mysqli-num-rows.xml
Log:
sync
chappy-20070317191815.txt
(text/plain, 52 KB)
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-data-seek.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-hu/reference/mysqli/functions/mysqli-data-seek.xml
diff -u phpdoc-hu/reference/mysqli/functions/mysqli-data-seek.xml:1.1 phpdoc-hu/reference/mysqli/functions/mysqli-data-seek.xml:1.2
--- phpdoc-hu/reference/mysqli/functions/mysqli-data-seek.xml:1.1 Sat Mar 3 14:53:50 2007
+++ phpdoc-hu/reference/mysqli/functions/mysqli-data-seek.xml Sat Mar 17 19:18:14 2007
@@ -60,7 +60,7 @@
&reftitle.notes;
<note>
<para>
- Ez a függvény csak bufferelt eredményhalmazokkal használható, amit
+ Ez a függvény csak pufferelt eredményhalmazokkal használható, amit
a <function>mysqli_store_result</function> vagy
<function>mysqli_query</function> függvényekkel lehet kinyerni.
</para>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-num-rows.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc-hu/reference/mysqli/functions/mysqli-num-rows.xml
diff -u phpdoc-hu/reference/mysqli/functions/mysqli-num-rows.xml:1.1 phpdoc-hu/reference/mysqli/functions/mysqli-num-rows.xml:1.2
--- phpdoc-hu/reference/mysqli/functions/mysqli-num-rows.xml:1.1 Sat Mar 3 14:53:50 2007
+++ phpdoc-hu/reference/mysqli/functions/mysqli-num-rows.xml Sat Mar 17 19:18:15 2007
@@ -24,9 +24,9 @@
Visszaadja az eredményhalmazban szereplõ sorok számát.
</para>
<para>
- A <function>mysqli_num_rows</function> használata attól függ, hogy bufferelt vagy
- nem bufferelt eredményhalmazzt használsz.
- Abban az esetben, ha nem bufferelt eredményhalmazt használsz, a <function>mysqli_num_rows</function> függvény
+ A <function>mysqli_num_rows</function> használata attól függ, hogy pufferelt vagy
+ nem pufferelt eredményhalmazzt használsz.
+ Abban az esetben, ha nem pufferelt eredményhalmazt használsz, a <function>mysqli_num_rows</function> függvény
nem fog helyes számot visszaadni, amíg az eredményhalmaz összes sorát vissza nem nyered.
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-change-user.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-change-user.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-change-user.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.16 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-change-user">
<refnamediv>
<refname>mysqli_change_user</refname>
<refname>mysqli->change_user()</refname>
<refpurpose>Megváltoztatja a felhasználót a megadott adatbázis-kapcsolaton</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_change_user</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
<methodparam><type>string</type><parameter>user</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam><type>string</type><parameter>database</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>change_user</methodname>
<methodparam><type>string</type><parameter>user</parameter></methodparam>
<methodparam><type>string</type><parameter>password</parameter></methodparam>
<methodparam><type>string</type><parameter>database</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Váltja a felhasználót a jelenlegi adatbázis-kapcsolaton és beállítja a jelenlegi
adabázist.
</para>
<para>
A felhasználók sikeres váltásához valódi <parameter>username</parameter> és
<parameter>password</parameter> paramétereket kell megadni, és a felhasználónak
megfelelõ engedélyekkel kell rendelkeznie a kívánt adatbázison. Ha bármilyen okból a hitelesítés
meghiúsul, a jelenlegi felhasználó megmarad.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
<varlistentry>
<term><parameter>user</parameter></term>
<listitem>
<para>
A MySQL felhasználónév.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>password</parameter></term>
<listitem>
<para>
A MySQL jelszó.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>database</parameter></term>
<listitem>
<para>
Az adatbázis, amire váltasz.
</para>
<para>
Ha szükséges, a &null; érték is megadható csak a felhasználó váltásához
és így nem kiválasztva adatbázist. Ebben az aesetben az adatbázis kiválasztásához
használd a <function>mysqli_select_db</function> függvényt.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<note>
<para>
Ennek a parancsnak a használata mindig azt okozza, hogy a jelenlegi adatbáziskapcsolat
úgy viselkedik, mintha teljesen új adatbáziskapcsolat lenne, akkor is,
ha a mûvelet sikeres volt. Ez visszaállítja a visszagördítéseken végrehajtott
beágyazásokat az összes aktív tranzakción, bezárja az összes ideiglenes táblát és
kinyitja az összes lezárt táblát.
</para>
</note>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
/* csatlakozás a test adabázishoz */
$mysqli = new mysqli("localhost", "my_user", "my_password", "test");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* Az a változó beállítása */
$mysqli->query("SET @a:=1");
/* minden visszaállítása és új adatbázis kiválasztása */
$mysqli->change_user("my_user", "my_password", "world");
if ($result = $mysqli->query("SELECT DATABASE()")) {
$row = $result->fetch_row();
printf("Default database: %s\n", $row[0]);
$result->close();
}
if ($result = $mysqli->query("SELECT @a")) {
$row = $result->fetch_row();
if ($row[0] === NULL) {
printf("Value of variable a is NULL\n");
}
$result->close();
}
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
/* csatlakozás a test adabázishoz */
$link = mysqli_connect("localhost", "my_user", "my_password", "test");
/* kapcsolat ellenõrzése */
if (!$link) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* Az a változó beállítása */
mysqli_query($link, "SET @a:=1");
/* minden visszaállítása és új adatbázis kiválasztása */
mysqli_change_user($link, "my_user", "my_password", "world");
if ($result = mysqli_query($link, "SELECT DATABASE()")) {
$row = mysqli_fetch_row($result);
printf("Default database: %s\n", $row[0]);
mysqli_free_result($result);
}
if ($result = mysqli_query($link, "SELECT @a")) {
$row = mysqli_fetch_row($result);
if ($row[0] === NULL) {
printf("Value of variable a is NULL\n");
}
mysqli_free_result($result);
}
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Default database: world
Value of variable a is NULL
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_connect</function></member>
<member><function>mysqli_select_db</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-free-result.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-free-result.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-free-result.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-free-result">
<refnamediv>
<refname>mysqli_free_result</refname>
<refname>result->free()</refname>
<refpurpose>Felszabadítja az eredmény által lefoglalt memóriát</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>void</type><methodname>mysqli_free_result</methodname>
<methodparam><type>mysqli_result</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (minden metódus azonos):</para>
<classsynopsis>
<ooclass><classname>mysqli_result</classname></ooclass>
<methodsynopsis>
<type>void</type><methodname>free</methodname>
<void />
</methodsynopsis>
<methodsynopsis>
<type>void</type><methodname>close</methodname>
<void />
</methodsynopsis>
<methodsynopsis>
<type>void</type><methodname>free_result</methodname>
<void />
</methodsynopsis>
</classsynopsis>
<para>
Felszabadítja az eredmény által lefoglalt memóriát.
</para>
<note>
<para>
Mindig a <function>mysqli_free_result</function> függvénnyel kell
felszabadítani az eredmény által lefoglalt memóriát,
ha az objektum már nem kell többet.
</para>
</note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.result.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.void;
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_query</function></member>
<member><function>mysqli_stmt_store_result</function></member>
<member><function>mysqli_store_result</function></member>
<member><function>mysqli_use_result</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-get-client-version.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-get-client-version.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-get-client-version.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.7 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-get-client-version">
<refnamediv>
<refname>mysqli_get_client_version</refname>
<refpurpose>Kinyeri a MySQL kliens információit</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>mysqli_get_client_version</methodname>
<void/>
</methodsynopsis>
<para>
Visszaadja a kliens verzióját egész számként.
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy szám, ami képviseli a MySQLi klienskönyvtár verzióját a következõ formában:
<literal>main_version*10000 + minor_version *100 + sub_version</literal>.
Pédául a 4.1.0-et 40100-ként adja vissza.
</para>
<para>
Ez hasznos a klienskönyvtár verziójának a gyors meghatározásához,
és megtudni, hogy a képesség létezik-e.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>mysqli_get_client_version</title>
<programlisting role='php'>
<![CDATA[
<?php
/* Nincs szükség kapcsolatra
a MySQL klienskönyvtár verziójának a meghatározásához */
printf("Client library version: %d\n", mysqli_get_client_version());
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_get_client_info</function></member>
<member><function>mysqli_get_server_info</function></member>
<member><function>mysqli_get_server_version</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-get-proto-info.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-get-proto-info.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-get-proto-info.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.11 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-get-proto-info">
<refnamediv>
<refname>mysqli_get_proto_info</refname>
<refname>mysqli->protocol_version</refname>
<refpurpose>Visszaadja a használt MySQL protokoll verzióját</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>int</type><methodname>mysqli_get_proto_info</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>string</type><varname>protocol_version</varname></fieldsynopsis>
</classsynopsis>
<para>
Egy egész számot ad vissza, ami képviseli a <parameter>link</parameter> paraméter által
képviselt MySQL protokoll verzióját.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy egész számot ad vissza, ami képviseli a protokoll verzióját.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* protokoll verziójának kiírása */
printf("Protocol version: %d\n", $mysqli->protocol_version);
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* protokoll verziójának kiírása */
printf("Protocol version: %d\n", mysqli_get_proto_info($link));
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Protocol version: 10
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_get_host_info</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-get-server-info.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-get-server-info.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-get-server-info.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.9 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-get-server-info">
<refnamediv>
<refname>mysqli_get_server_info</refname>
<refname>mysqli->server_info</refname>
<refpurpose>Visszaadja a MySQL szerver verziószámát</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>string</type><methodname>mysqli_get_server_info</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>string</type><varname>server_info</varname></fieldsynopsis>
</classsynopsis>
<para>
Visszaad egy karakterláncot, ami képviseli azon MySQL szerver verziószámát,
melyhez a MySQLi kiterjesztés kapcsolódott.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy karakterlánc, ami képviseli a szerver verziószámát.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szerver verziószámának kiírása */
printf("Server version: %s\n", $mysqli->server_info);
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szerver verziószámának kiírása */
printf("Server version: %s\n", mysqli_get_server_info($link));
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Server version: 4.1.2-alpha-debug
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_get_client_info</function></member>
<member><function>mysqli_get_client_version</function></member>
<member><function>mysqli_get_server_version</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-get-server-version.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-get-server-version.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-get-server-version.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.9 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-get-server-version">
<refnamediv>
<refname>mysqli_get_server_version</refname>
<refname>mysqli->server_version</refname>
<refpurpose>Returns the version of the MySQL server as an integer</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>int</type><methodname>mysqli_get_server_version</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>int</type><varname>server_version</varname></fieldsynopsis>
</classsynopsis>
<para>
A <function>mysqli_get_server_version</function> függvény visszaadja a (<parameter>link</parameter>
paraméterben) megadott kapcsolat szerverének a verziószámát
egész számként.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy egész szám, ami képviseli a szerver verziószámát.
</para>
<para>
A verziószám, formája a következõ:
<literal>main_version * 10000 + minor_version * 100 + sub_version</literal>
(azaz a 4.1.0 verzió 40100).
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szerver verziószámának kiíratása */
printf("Server version: %d\n", $mysqli->server_version);
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
/* szerver verziószámának kiíratása */
printf("Server version: %d\n", mysqli_get_server_version($link));
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Server version: 40102
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_get_client_info</function></member>
<member><function>mysqli_get_client_version</function></member>
<member><function>mysqli_get_server_info</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-init.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-init.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-init.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-init">
<refnamediv>
<refname>mysqli_init</refname>
<refpurpose>Inicializál a MySQLi-t és visszaad egy erõforrást mysqli_real_connect()-tel való használatra</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>mysqli</type><methodname>mysqli_init</methodname>
<void/>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>mysqli</type><methodname>init</methodname>
<void/>
</methodsynopsis>
</classsynopsis>
<para>
Kioszt vagy inicializál egy MySQLI objektumot a <function>mysqli_options</function>
és a <function>mysqli_real_connect</function> függvényekkel alkalmas használatra.
</para>
<note>
<para>
Bármely elkövetkezendõ mysqli függvényhívás (kivéve a <function>mysqli_options</function> függvényt)
meghiúsul a <function>mysqli_real_connect</function> függvény hívásáig.
</para>
</note>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy objektummal tér vissza.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_options</function></member>
<member><function>mysqli_close</function></member>
<member><function>mysqli_real_connect</function></member>
<member><function>mysqli_connect</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-insert-id.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-insert-id.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-insert-id.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.0 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-insert-id">
<refnamediv>
<refname>mysqli_insert_id</refname>
<refname>mysqli->insert_id</refname>
<refpurpose>Visszaadja az utolsó lekérdezésben automatikusan generált azonosítót</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>int</type><methodname>mysqli_insert_id</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<fieldsynopsis><type>int</type><varname>insert_id</varname></fieldsynopsis>
</classsynopsis>
<para>
A <function>mysqli_insert_id</function> függvény visszaadja a lekérdezés által generált azonosítót (ID),
ami a tábla AUTO_INCREMENT attribútummal rendelkezõ oszlopjának az értéke. Ha az utolsó lekérdezés nem
INSERT vagy UPDATE parancs volt, vagy a módosított táblának nincs oszlopa AUTO_INCREMENT attribútummal,
ez a függvény nullával tér vissza.
</para>
<note>
<para>
Performing an INSERT or UPDATE statement using the LAST_INSERT_ID()
function will also modify the value returned by the
<function>mysqli_insert_id</function> function.
</para>
</note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Annak az <literal>AUTO_INCREMENT</literal> mezõ értéke, amelyet az elõrõ kérés
módosított. Nullát ad vissza, ha nem volt elõzõ kérés a kapcsolaton, vagy
ha a lekérdezés nem módosított <literal>AUTO_INCREMENT</literal>
értéket.
</para>
<note>
<para>
Ha a szám nagyobb a legnagyobb int értéknél, akkor a <function>mysqli_insert_id</function>
függvény karakterláncot ad vissza.
</para>
</note>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
$mysqli->query("CREATE TABLE myCity LIKE City");
$query = "INSERT INTO myCity VALUES (NULL, 'Stuttgart', 'DEU', 'Stuttgart', 617000)";
$mysqli->query($query);
printf ("New Record has id %d.\n", $mysqli->insert_id);
/* tábla törlése */
$mysqli->query("DROP TABLE myCity");
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
mysqli_query($link, "CREATE TABLE myCity LIKE City");
$query = "INSERT INTO myCity VALUES (NULL, 'Stuttgart', 'DEU', 'Stuttgart', 617000)";
mysqli_query($link, $query);
printf ("New Record has id %d.\n", mysqli_insert_id($link));
/* tábla törlése */
mysqli_query($link, "DROP TABLE myCity");
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
New Record has id 1.
]]>
</screen>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-more-results.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-more-results.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-more-results.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.8 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-more-results">
<refnamediv>
<refname>mysqli_more_results</refname>
<refname>mysqli->more_results</refname>
<refpurpose>Ellenõrzi, hogy van-e több eredménye egy összetett lekérdezésnek</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>mysqli_more_results</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>
Jelzi, hogy van-e egy vagy több elérhetõ eredményhalmaza az elõzõ
<function>mysqli_multi_query</function> függvényhívásnak.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>Lásd: <function>mysqli_multi_query</function></para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_multi_query</function></member>
<member><function>mysqli_next_result</function></member>
<member><function>mysqli_store_result</function></member>
<member><function>mysqli_use_result</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-num-fields.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-num-fields.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-num-fields.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.8 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-num-fields">
<refnamediv>
<refname>mysqli_num_fields</refname>
<refname>result->field_count</refname>
<refpurpose>Kinyeri az eredményben szereplõ mezõk számát</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>int</type><methodname>mysqli_num_fields</methodname>
<methodparam><type>mysqli_result</type><parameter>result</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság):</para>
<classsynopsis>
<ooclass><classname>mysqli_result</classname></ooclass>
<fieldsynopsis><type>int</type><varname>field_count</varname></fieldsynopsis>
</classsynopsis>
<para>
Visszaadja a megadott eredményhalmazban szereplõ mezõk számát.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.result.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Az eredményhalmazban szereplõ mezõk száma.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
if ($result = $mysqli->query("SELECT * FROM City ORDER BY ID LIMIT 1")) {
/* eredményhalmazban szereplõ mezõk számának meghatározása */
$field_cnt = $result->field_count;
printf("Result set has %d fields.\n", $field_cnt);
/* eredményhalmaz bezárása */
$result->close();
}
/* kapcsolat bezárása */
$mysqli->close();
?>
]]>
</programlisting>
</example>
<example>
<title>Eljárást használó stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$link = mysqli_connect("localhost", "my_user", "my_password", "world");
/* kapcsolat ellenõrzése */
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();
}
if ($result = mysqli_query($link, "SELECT * FROM City ORDER BY ID LIMIT 1")) {
/* eredményhalmazban szereplõ mezõk számának meghatározása */
$field_cnt = mysqli_num_fields($result);
printf("Result set has %d fields.\n", $field_cnt);
/* eredményhalmaz bezárása */
mysqli_free_result($result);
}
/* kapcsolat bezárása */
mysqli_close($link);
?>
]]>
</programlisting>
</example>
&example.outputs;
<screen>
<![CDATA[
Result set has 5 fields.
]]>
</screen>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_fetch_field</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-options.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-options.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-options.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.12 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-options">
<refnamediv>
<refname>mysqli_options</refname>
<refname>mysqli->options()</refname>
<refpurpose>Beállítja az opciókat</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_options</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
<methodparam><type>int</type><parameter>option</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus)</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>options</methodname>
<methodparam><type>int</type><parameter>option</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Beállítja az extra kapcsolódási opciókat, és így hat a kapcsolat viselkedésére.
</para>
<para>
Ez a függvény többször is meghívható, több opció beállításához.
</para>
<para>
A <function>mysqli_options</function> függvényt a
<function>mysqli_init</function> függvény után, és a
<function>mysqli_real_connect</function> függvény elõtt kell meghívni.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
<varlistentry>
<term><parameter>option</parameter></term>
<listitem>
<para>
A beállítandó opció. Ez a következõ értékek valamelyike lehet:
<table>
<title>Valódi opciók</title>
<tgroup cols='2'>
<thead>
<row>
<entry>Név</entry>
<entry>Leírás</entry>
</row>
</thead>
<tbody>
<row>
<entry><constant>MYSQLI_OPT_CONNECT_TIMEOUT</constant></entry>
<entry>kapcsolódási idõtúllépés másodpercekben</entry>
</row>
<row>
<entry><constant>MYSQLI_OPT_LOCAL_INFILE</constant></entry>
<entry>enable/disable use of <literal>LOAD LOCAL INFILE</literal></entry>
</row>
<row>
<entry><constant>MYSQLI_INIT_COMMAND</constant></entry>
<entry>A MySQL szerverhez való kapcsolódás után futtatandó parancs</entry>
</row>
<row>
<entry><constant>MYSQLI_READ_DEFAULT_FILE</constant></entry>
<entry>
Az opciókat a megadott fájlból olvassa be a <filename>my.cnf</filename> helyett
</entry>
</row>
<row>
<entry><constant>MYSQLI_READ_DEFAULT_GROUP</constant></entry>
<entry>
Az opciókat a megnevezett csoporttól, a <filename>my.cnf</filename>-bõl
vagy a <constant>MYSQL_READ_DEFAULT_FILE</constant> konstanssal megadott fájlból olvassa be.
</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>value</parameter></term>
<listitem>
<para>
Az opció értéke.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
Lásd: <function>mysqli_real_connect</function>.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_init</function></member>
<member><function>mysqli_real_connect</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-stmt-close.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-stmt-close.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-stmt-close.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.11 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-stmt-close">
<refnamediv>
<refname>mysqli_stmt_close</refname>
<refname>mysqli_stmt->close()</refname>
<refpurpose>Bezár egy elõkészített parancsot</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_stmt_close</methodname>
<methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus):</para>
<classsynopsis>
<ooclass><classname>mysqli_stmt</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>close</methodname>
<void />
</methodsynopsis>
</classsynopsis>
<para>
Bezár egy elõkészített parancsot. A <function>mysqli_stmt_close</function> függvény emellett
felszabadítja a parancskezelõt. Ha a jelenlegi parancsnak függõ vagy
olvasatlan eredményei vannak, ez a függvény érvényteleníti ezeket, tehát a
következõ lekérdezés futtatható.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.stmt.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_prepare</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-stmt-init.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-stmt-init.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-stmt-init.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.8 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-stmt-init">
<refnamediv>
<refname>mysqli_stmt_init</refname>
<refname>mysqli->stmt_init()</refname>
<refpurpose>Inicializál egy parancsot és visszad egy objektumot mysqli_stmt_prepare()-rel való használatra</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>mysqli_stmt</type><methodname>mysqli_stmt_init</methodname>
<methodparam><type>mysqli</type><parameter>link</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (tulajdonság):</para>
<classsynopsis>
<ooclass><classname>mysqli</classname></ooclass>
<methodsynopsis>
<type>mysqli_stmt</type><methodname>stmt_init</methodname>
<void/>
</methodsynopsis>
</classsynopsis>
<para>
Kioszt és inicializál egy MySQLI objektumot a <function>mysqli_stmt_prepare</function>
függvénnyel alkalmas használatra.
</para>
<note>
<para>
Bármely elkövetkezendõ mysqli_stmt függvényhívás
meghiúsul a <function>mysqli_real_connect</function> függvény hívásáig.
</para>
</note>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.link.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Egy objektummal tér vissza.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_stmt_prepare</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-stmt-reset.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-stmt-reset.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-stmt-reset.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.6 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-stmt-reset">
<refnamediv>
<refname>mysqli_stmt_reset</refname>
<refname>stmt->reset()</refname>
<refpurpose>Visszaállít egy elõkészített parancsot</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_stmt_reset</methodname>
<methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus):</para>
<classsynopsis>
<ooclass><classname>mysqli_stmt</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>reset</methodname>
<void />
</methodsynopsis>
</classsynopsis>
<para>
Visszaállít egy elõkészített parancsot a kliensen és a szerveren az elõkészítés utáni állapotba.
</para>
<para>
Mostnra ezt a függvényt fõként a
<function>mysqli_stmt_send_long_data</function> függvény által elküldött adatok visszaállítására használják.
</para>
<para>
Egy parancs másik kéréssel való elõkészítéséhez használd a
<function>mysqli_stmt_prepare</function> függvényt.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.stmt.description;
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_prepare</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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/viewvc.cgi/phpdoc-hu/reference/mysqli/functions/mysqli-stmt-send-long-data.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/mysqli/functions/mysqli-stmt-send-long-data.xml
+++ phpdoc-hu/reference/mysqli/functions/mysqli-stmt-send-long-data.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.10 Maintainer: chappy Status: ready -->
<!-- Reviewed: no -->
<refentry id="function.mysqli-stmt-send-long-data">
<refnamediv>
<refname>mysqli_stmt_send_long_data</refname>
<refname>stmt->send_long_data()</refname>
<refpurpose>Adatot küld blokkokban</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<para>Eljárást használó stílus:</para>
<methodsynopsis>
<type>bool</type><methodname>mysqli_stmt_send_long_data</methodname>
<methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
<methodparam><type>int</type><parameter>param_nr</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>Objektum-orientált stílus (metódus)</para>
<classsynopsis>
<ooclass><classname>mysqli_stmt</classname></ooclass>
<methodsynopsis>
<type>bool</type><methodname>send_long_data</methodname>
<methodparam><type>int</type><parameter>param_nr</parameter></methodparam>
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<para>
Allows to send parameter data to the server in pieces (or chunks), e.g. if the
size of a blob exceeds the size of <literal>max_allowed_packet</literal>.
This function can be called multiple times to send the parts of a character or
binary data value for a column, which must be one of the TEXT or BLOB datatypes.
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
&mysqli.stmt.description;
<varlistentry>
<term><parameter>param_nr</parameter></term>
<listitem>
<para>
Jelzi, hogy melyik paraméterrel kell társítani az adatot. A paraméterek sorzámozva vannak,
0-val kezdve a számozást.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>data</parameter></term>
<listitem>
<para>
Egy karakterlánc, ami tartalmazza a küldendõ adatot.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>
<title>Objektum-orientált stílus</title>
<programlisting role="php">
<![CDATA[
<?php
$stmt = $mysqli->prepare("INSERT INTO messages (message) VALUES (?)");
$null = NULL;
$stmt->bind_param("b", $null);
$fp = fopen("messages.txt", "r");
while (!feof($fp)) {
$stmt->send_long_data(0, fread($fp, 8192));
}
fclose($fp);
$stmt->execute();
?>
]]>
</programlisting>
</example>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>mysqli_prepare</function></member>
<member><function>mysqli_stmt_bind_param</function></member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- 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
-->