svn: /phpdoc/ru/trunk/ language/operators.xml reference/misc/functions/sapi-windows-cp-get.xml reference/session/sessionhandlerinterface/close.xml reference/session/sessionhandlerinterface/destroy.xml reference/session/sessionhandlerinterface/open.xml reference/session/sessionhandlerinterface/read.xml reference/session/sessionhandlerinterface/write.xml reference/session/sessionupdatetimestamphandlerinterface/updatetimestamp.xml reference/session/sessionupdatetimestamphandlerinterface/validateid.
[email protected] (Sergey Panteleev) Wed, 02 Dec 2020 06:30:18 +0000
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Wed, 02 Dec 2020 06:30:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351842
Log:
docs(ru): Updated to English revision
Changed paths:
U phpdoc/ru/trunk/language/operators.xml
U phpdoc/ru/trunk/reference/misc/functions/sapi-windows-cp-get.xml
U phpdoc/ru/trunk/reference/session/sessionhandlerinterface/close.xml
U phpdoc/ru/trunk/reference/session/sessionhandlerinterface/destroy.xml
U phpdoc/ru/trunk/reference/session/sessionhandlerinterface/open.xml
U phpdoc/ru/trunk/reference/session/sessionhandlerinterface/read.xml
U phpdoc/ru/trunk/reference/session/sessionhandlerinterface/write.xml
U phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/updatetimestamp.xml
U phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/validateid.xml
U phpdoc/ru/trunk/reference/var/functions/serialize.xml
U phpdoc/ru/trunk/reference/win32service/book.xml
U phpdoc/ru/trunk/reference/win32service/constants.xml
U phpdoc/ru/trunk/reference/win32service/setup.xml
svn-diffs-351842.txt
(text/x-diff, 21 KB)
Modified: phpdoc/ru/trunk/language/operators.xml
===================================================================
--- phpdoc/ru/trunk/language/operators.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/language/operators.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 351706 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351816 Maintainer: shein Status: ready -->
<!-- $Revision$ -->
<!-- Reviewed: yes -->
<chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook">
@@ -1789,7 +1789,7 @@
&null; и <replaceable>expr1</replaceable> в противном случае.
</para>
<para>
- На практике, этот оператор не вызывает предупреждения, если левый операнд не
+ На практике, этот оператор не вызывает предупреждения или ошибки, если левый операнд не
существует, как и <function>isset</function>. Это очень полезно для ключей массива.
</para>
<note>
Modified: phpdoc/ru/trunk/reference/misc/functions/sapi-windows-cp-get.xml
===================================================================
--- phpdoc/ru/trunk/reference/misc/functions/sapi-windows-cp-get.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/misc/functions/sapi-windows-cp-get.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 344354 Maintainer: lex Status: ready -->
+<!-- EN-Revision: 351712 Maintainer: lex Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<refentry xml:id="function.sapi-windows-cp-get" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>sapi_windows_cp_get</refname>
- <refpurpose>Получить кодовую страницу процесса</refpurpose>
+ <refpurpose>Получить текущую кодовую страницу</refpurpose>
</refnamediv>
<refsect1 role="description"><!-- {{{ -->
@@ -13,10 +13,10 @@
&reftitle.description;
<methodsynopsis role="procedural">
<type>int</type><methodname>sapi_windows_cp_get</methodname>
- <methodparam><type>string</type><parameter>kind</parameter></methodparam>
+ <methodparam choice="opt"><type>string</type><parameter>kind</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
- Получить идентификатор кодовой страницы текущей страницы.
+ Получить текущую кодовую страницу.
</para>
</refsect1><!-- }}} -->
@@ -27,7 +27,9 @@
<term><parameter>kind</parameter></term>
<listitem>
<para>
- Тип кодовой страницы: либо <literal>'ansi'</literal> или <literal>'oem'</literal>.
+ Тип кодовой страницы операционной системы, которую нужно получить:
+ либо <literal>'ansi'</literal>, либо <literal>'oem'</literal>.
+ Любое другое значение относится к текущей кодовой странице процесса.
</para>
</listitem>
</varlistentry>
@@ -37,7 +39,11 @@
<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
- Возвращает идентификатор кодовой страницы.
+ Если <parameter>kind</parameter> равен <literal>'ansi'</literal>, возвращается
+ текущая кодовая страница <acronym>ANSI</acronym> операционной системы.
+ Если <parameter>kind</parameter> равен <literal>'oem'</literal>, возвращается
+ текущая кодовая страница <acronym>OEM</acronym> операционной системы.
+ В противном случае возвращается текущая кодовая страница процесса.
</para>
</refsect1><!-- }}} -->
Modified: phpdoc/ru/trunk/reference/session/sessionhandlerinterface/close.xml
===================================================================
--- phpdoc/ru/trunk/reference/session/sessionhandlerinterface/close.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/session/sessionhandlerinterface/close.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 325727 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351750 Maintainer: mch Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
-
<refentry xml:id="sessionhandlerinterface.close" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SessionHandlerInterface::close</refname>
@@ -13,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>bool</type><methodname>SessionHandlerInterface::close</methodname>
- <void />
+ <void/>
</methodsynopsis>
<para>
Закрывает текущую сессию. Эта функция автоматически выполняется при закрытии сессии
@@ -35,7 +34,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/session/sessionhandlerinterface/destroy.xml
===================================================================
--- phpdoc/ru/trunk/reference/session/sessionhandlerinterface/destroy.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/session/sessionhandlerinterface/destroy.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 323401 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351750 Maintainer: mch Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
-
<refentry xml:id="sessionhandlerinterface.destroy" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SessionHandlerInterface::destroy</refname>
@@ -13,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>bool</type><methodname>SessionHandlerInterface::destroy</methodname>
- <methodparam><type>string</type><parameter>session_id</parameter></methodparam>
+ <methodparam><type>string</type><parameter>id</parameter></methodparam>
</methodsynopsis>
<para>
Уничтожает сессию. Вызывается функциями <function>session_regenerate_id</function> (с $destroy = &true;),
@@ -26,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>session_id</parameter></term>
+ <term><parameter>id</parameter></term>
<listitem>
<para>
Идентификатор сессии уничтожается.
@@ -45,7 +44,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/session/sessionhandlerinterface/open.xml
===================================================================
--- phpdoc/ru/trunk/reference/session/sessionhandlerinterface/open.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/session/sessionhandlerinterface/open.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 339638 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351750 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="sessionhandlerinterface.open" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>bool</type><methodname>SessionHandlerInterface::open</methodname>
- <methodparam><type>string</type><parameter>save_path</parameter></methodparam>
- <methodparam><type>string</type><parameter>session_name</parameter></methodparam>
+ <methodparam><type>string</type><parameter>path</parameter></methodparam>
+ <methodparam><type>string</type><parameter>name</parameter></methodparam>
</methodsynopsis>
<para>
Повторно инициализирует существующую сессию или создает новую. Вызывается когда сессия
@@ -25,7 +25,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>save_path</parameter></term>
+ <term><parameter>path</parameter></term>
<listitem>
<para>
Путь, по которому сохраняется/восстанавливается сессия.
@@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>session_name</parameter></term>
+ <term><parameter>name</parameter></term>
<listitem>
<para>
Название сессии.
@@ -63,7 +63,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/session/sessionhandlerinterface/read.xml
===================================================================
--- phpdoc/ru/trunk/reference/session/sessionhandlerinterface/read.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/session/sessionhandlerinterface/read.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 338890 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351750 Maintainer: mch Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="sessionhandlerinterface.read" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -12,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>string</type><methodname>SessionHandlerInterface::read</methodname>
- <methodparam><type>string</type><parameter>session_id</parameter></methodparam>
+ <methodparam><type>string</type><parameter>id</parameter></methodparam>
</methodsynopsis>
<para>
Читает данные сессии из хранилища сессий и возвращает результат.
@@ -41,7 +41,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>session_id</parameter></term>
+ <term><parameter>id</parameter></term>
<listitem>
<para>
Идентификатор сессии.
@@ -70,7 +70,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/session/sessionhandlerinterface/write.xml
===================================================================
--- phpdoc/ru/trunk/reference/session/sessionhandlerinterface/write.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/session/sessionhandlerinterface/write.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 323626 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351750 Maintainer: mch Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
-
<refentry xml:id="sessionhandlerinterface.write" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SessionHandlerInterface::write</refname>
@@ -13,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>bool</type><methodname>SessionHandlerInterface::write</methodname>
- <methodparam><type>string</type><parameter>session_id</parameter></methodparam>
- <methodparam><type>string</type><parameter>session_data</parameter></methodparam>
+ <methodparam><type>string</type><parameter>id</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
Записывает данные сессии в хранилище сессий. Вызывается функцией
@@ -36,7 +35,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>session_id</parameter></term>
+ <term><parameter>id</parameter></term>
<listitem>
<para>
Идентификатор сессии.
@@ -44,7 +43,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>session_data</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
Закодированные данные сессии. Эти данные являются результатом внутреннего кодирования PHP суперглобального массива <varname>$_SESSION</varname> в сериализованную строку
@@ -74,7 +73,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/updatetimestamp.xml
===================================================================
--- phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/updatetimestamp.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/updatetimestamp.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350221 Maintainer: lex Status: ready -->
+<!-- EN-Revision: 351750 Maintainer: lex Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="sessionupdatetimestamphandlerinterface.updatetimestamp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SessionUpdateTimestampHandlerInterface::updateTimestamp</refname>
@@ -13,8 +12,8 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>bool</type><methodname>SessionUpdateTimestampHandlerInterface::updateTimestamp</methodname>
- <methodparam><type>string</type><parameter>key</parameter></methodparam>
- <methodparam><type>string</type><parameter>val</parameter></methodparam>
+ <methodparam><type>string</type><parameter>id</parameter></methodparam>
+ <methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
Обновляет метку времени последнего изменения сеанса.
@@ -26,7 +25,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>key</parameter></term>
+ <term><parameter>id</parameter></term>
<listitem>
<para>
Идентификатор сессии.
@@ -34,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
- <term><parameter>val</parameter></term>
+ <term><parameter>data</parameter></term>
<listitem>
<para>
Данные сессии.
@@ -53,7 +52,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/validateid.xml
===================================================================
--- phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/validateid.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/session/sessionupdatetimestamphandlerinterface/validateid.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 350221 Maintainer: lex Status: ready -->
+<!-- EN-Revision: 351750 Maintainer: lex Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
-
<refentry xml:id="sessionupdatetimestamphandlerinterface.validateid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>SessionUpdateTimestampHandlerInterface::validateId</refname>
@@ -13,7 +12,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>bool</type><methodname>SessionUpdateTimestampHandlerInterface::validateId</methodname>
- <methodparam><type>string</type><parameter>key</parameter></methodparam>
+ <methodparam><type>string</type><parameter>id</parameter></methodparam>
</methodsynopsis>
<para>
Проверяет данный идентификатор сессии. Идентификатор сессии действителен, если сессия с таким идентификатором уже существует.
@@ -26,7 +25,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
- <term><parameter>key</parameter></term>
+ <term><parameter>id</parameter></term>
<listitem>
<para>
Идентификатор сессии.
@@ -45,7 +44,6 @@
</refsect1>
</refentry>
-
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Modified: phpdoc/ru/trunk/reference/var/functions/serialize.xml
===================================================================
--- phpdoc/ru/trunk/reference/var/functions/serialize.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/var/functions/serialize.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 349590 Maintainer: shein Status: ready -->
+<!-- EN-Revision: 351823 Maintainer: shein Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.serialize" xmlns="http://docbook.org/ns/docbook">
@@ -99,7 +99,7 @@
if (!odbc_execute($stmt, $sqldata)) {
$stmt = odbc_prepare($conn,
"INSERT INTO sessions (id, data) VALUES(?, ?)");
- if (!odbc_execute($stmt, $sqldata)) {
+ if (!odbc_execute($stmt, array_reverse($sqldata))) {
/* Код, выполняемый при ошибке.. */
}
}
Modified: phpdoc/ru/trunk/reference/win32service/book.xml
===================================================================
--- phpdoc/ru/trunk/reference/win32service/book.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/win32service/book.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330340 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: mch Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<book xml:id="book.win32service" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -19,6 +19,7 @@
&reference.win32service.setup;
&reference.win32service.constants;
+ &reference.win32service.win32serviceexception;
&reference.win32service.examples;
&reference.win32service.reference;
Modified: phpdoc/ru/trunk/reference/win32service/constants.xml
===================================================================
--- phpdoc/ru/trunk/reference/win32service/constants.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/win32service/constants.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 346866 Maintainer: rjhdby Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: rjhdby Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<!-- $Revision$ -->
<appendix xml:id="win32service.constants" xmlns="http://docbook.org/ns/docbook">
@@ -494,6 +494,11 @@
</section>
<section xml:id="win32service.constants.errors">
+ <note>
+ <para>
+ Эти константы больше не используются с Win32Service 1.0.0.
+ </para>
+ </note>
<table>
<title>Коды ошибок Win32</title>
<tgroup cols="3">
Modified: phpdoc/ru/trunk/reference/win32service/setup.xml
===================================================================
--- phpdoc/ru/trunk/reference/win32service/setup.xml 2020-12-02 06:12:20 UTC (rev 351841)
+++ phpdoc/ru/trunk/reference/win32service/setup.xml 2020-12-02 06:30:18 UTC (rev 351842)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 345077 Maintainer: mch Status: ready -->
+<!-- EN-Revision: 351746 Maintainer: mch Status: ready -->
<!-- Reviewed: yes Maintainer: sergey -->
<chapter xml:id="win32service.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -10,8 +10,7 @@
<section xml:id="win32service.requirements">
&reftitle.required;
<para>
- Windows NT, Windows 2000, Windows XP или Windows Server 2003. Любая версия
- Windows, начиная с Windows NT, совместима.
+ Поддерживаемые версии Windows такие же, как и в распространяемом пакете Visual C++, используемом для сборки PHP.
</para>
</section>
<!-- }}} -->