svn: /phpdoc/ru/trunk/reference/ mysqli/mysqli/get-server-info.xml mysqli/mysqli_stmt/get-warnings.xml mysqli/mysqli_stmt/insert-id.xml
mysqli/mysqli_stmt/num-rows.xml network/functions/getprotobyname.xml
| From: | Boris Fleytlikh | Date: | Mon, 23 Jan 2012 06:50:00 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/ mysqli/mysqli/get-server-info.xml mysqli/mysqli_stmt/get-warnings.xml mysqli/mysqli_stmt/insert-id.xml mysqli/mysqli_stmt/num-rows.xml network/functions/getprotobyname.xml |
||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-3533@lists.php.net to get a copy of this message | ||
bfl Mon, 23 Jan 2012 06:50:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322597
Log:
Updated unreviewed translation
Changed paths:
U phpdoc/ru/trunk/reference/mysqli/mysqli/get-server-info.xml
U phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/get-warnings.xml
U phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/insert-id.xml
U phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/num-rows.xml
U phpdoc/ru/trunk/reference/network/functions/getprotobyname.xml
Modified: phpdoc/ru/trunk/reference/mysqli/mysqli/get-server-info.xml
===================================================================
--- phpdoc/ru/trunk/reference/mysqli/mysqli/get-server-info.xml 2012-01-23 06:39:01 UTC (rev 322596)
+++ phpdoc/ru/trunk/reference/mysqli/mysqli/get-server-info.xml 2012-01-23 06:50:00 UTC (rev 322597)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 322008 Maintainer: bfl Status: ready -->
+<!-- EN-Revision: 322383 Maintainer: bfl Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="mysqli.get-server-info" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -43,7 +43,7 @@
<refsect1 role="examples">
&reftitle.examples;
<example>
- <title>Пример использования
<varname>mysqli->server_info</varname></title>
+ <title>Пример использования
<varname>$mysqli->server_info</varname></title>
<para>&style.oop;</para>
<programlisting role="php">
<![CDATA[
Modified: phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/get-warnings.xml
===================================================================
--- phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/get-warnings.xml 2012-01-23 06:39:01 UTC (rev
322596)
+++ phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/get-warnings.xml 2012-01-23 06:50:00 UTC (rev
322597)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 299158 Maintainer: bfl Status: ready -->
+<!-- EN-Revision: 322005 Maintainer: bfl Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="mysqli-stmt.get-warnings" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -12,7 +12,7 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
- <methodsynopsis>
+ <methodsynopsis role="oop">
<type>object</type><methodname>mysqli_stmt::get_warnings</methodname>
<methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
Modified: phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/insert-id.xml
===================================================================
--- phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/insert-id.xml 2012-01-23 06:39:01 UTC (rev 322596)
+++ phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/insert-id.xml 2012-01-23 06:50:00 UTC (rev 322597)
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 313115 Maintainer: bfl Status: ready -->
+<!-- EN-Revision: 322008 Maintainer: bfl Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="mysqli-stmt.insert-id" xmlns="http://docbook.org/ns/docbook">
- <refnamediv>
- <refname>mysqli_stmt::insert_id</refname>
+ <refnamediv><refname>mysqli_stmt::$insert_id</refname>
<refname>mysqli_stmt_insert_id</refname>
<refpurpose>Получает ID сгенерированный предыдущей
операцией INSERT</refpurpose>
</refnamediv>
@@ -12,20 +11,17 @@
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
- <classsynopsis>
- <ooclass><classname>mysqli_stmt</classname></ooclass>
-
<fieldsynopsis><type>int</type><varname>insert_id</varname></fieldsynopsis>
- </classsynopsis>
+ <fieldsynopsis><type>int</type><varname
linkend="mysqli-stmt.insert-id">mysqli_stmt->insert_id</varname></fieldsynopsis>
<para>&style.procedural;</para>
<methodsynopsis>
<type>mixed</type><methodname>mysqli_stmt_insert_id</methodname>
<methodparam><type>mysqli_stmt</type><parameter>stmt</parameter></methodparam>
</methodsynopsis>
-
+
&warn.undocumented.func;
-
+
</refsect1>
-
+
</refentry>
<!-- Keep this comment at the end of the file
Modified: phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/num-rows.xml
===================================================================
--- phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/num-rows.xml 2012-01-23 06:39:01 UTC (rev 322596)
+++ phpdoc/ru/trunk/reference/mysqli/mysqli_stmt/num-rows.xml 2012-01-23 06:50:00 UTC (rev 322597)
@@ -1,21 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 301933 Maintainer: bfl Status: ready -->
+<!-- EN-Revision: 322008 Maintainer: bfl Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="mysqli-stmt.num-rows" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
- <refname>mysqli_stmt::num_rows</refname>
+ <refname>mysqli_stmt::$num_rows</refname>
<refname>mysqli_stmt_num_rows</refname>
<refpurpose>Возвращает число строк в результате
запроса</refpurpose>
</refnamediv>
-
+
<refsect1 role="description">
&reftitle.description;
<para>&style.oop;</para>
- <classsynopsis>
- <ooclass><classname>mysqli_stmt</classname></ooclass>
-
<fieldsynopsis><type>int</type><varname>num_rows</varname></fieldsynopsis>
- </classsynopsis>
+ <fieldsynopsis><type>int</type><varname
linkend="mysqli-stmt.num-rows">mysqli_stmt->num_rows</varname></fieldsynopsis>
<para>&style.procedural;</para>
<methodsynopsis>
<type>int</type><methodname>mysqli_stmt_num_rows</methodname>
@@ -33,7 +30,7 @@
момент.
</para>
</refsect1>
-
+
<refsect1 role="parameters">
&reftitle.parameters;
<para>
@@ -42,14 +39,14 @@
</variablelist>
</para>
</refsect1>
-
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Целое число, отражающее число строк в результате
запроса.
</para>
</refsect1>
-
+
<refsect1 role="examples">
&reftitle.examples;
<example>
@@ -129,7 +126,7 @@
</screen>
</example>
</refsect1>
-
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
@@ -140,7 +137,7 @@
</simplelist>
</para>
</refsect1>
-
+
</refentry>
<!-- Keep this comment at the end of the file
Modified: phpdoc/ru/trunk/reference/network/functions/getprotobyname.xml
===================================================================
--- phpdoc/ru/trunk/reference/network/functions/getprotobyname.xml 2012-01-23 06:39:01 UTC (rev
322596)
+++ phpdoc/ru/trunk/reference/network/functions/getprotobyname.xml 2012-01-23 06:50:00 UTC (rev
322597)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: bfl Status: ready -->
+<!-- EN-Revision: 322431 Maintainer: bfl Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.getprotobyname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
@@ -40,7 +40,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Возвращает номер протокола или -1, если протокол не
найден.
+ Возвращает номер протокола &return.falseforfailure;.
</para>
</refsect1>
@@ -54,7 +54,7 @@
<?php
$protocol = 'tcp';
$get_prot = getprotobyname($protocol);
-if ($get_prot == -1) {
+if ($get_prot === FALSE) {
echo 'Протокол не найден';
} else {
echo 'Протокол #' . $get_prot;