svn: /phpdoc/ru/trunk/reference/ pdo_oci/constants.xml sqlite3/sqlite3stmt/getsql.xml ui/ui/point/at.xml ui/ui/size/of.xml
[email protected] (Andrey Gromov)
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
rjhdby Mon, 06 Jan 2020 12:04:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=348809
Log:
new
Changed paths:
A phpdoc/ru/trunk/reference/pdo_oci/constants.xml
A phpdoc/ru/trunk/reference/sqlite3/sqlite3stmt/getsql.xml
A phpdoc/ru/trunk/reference/ui/ui/point/at.xml
A phpdoc/ru/trunk/reference/ui/ui/size/of.xml
svn-diffs-348809.txt
(text/x-diff, 13.1 KB)
Added: phpdoc/ru/trunk/reference/pdo_oci/constants.xml
===================================================================
--- phpdoc/ru/trunk/reference/pdo_oci/constants.xml (rev 0)
+++ phpdoc/ru/trunk/reference/pdo_oci/constants.xml 2020-01-06 12:04:33 UTC (rev 348809)
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 347608 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<section xml:id="pdo-oci.constants" xmlns="http://docbook.org/ns/docbook">
+ &reftitle.constants;
+ &pdo.driver-constants;
+ <variablelist>
+
+ <varlistentry xml:id="pdo.constants.oci-attr-action">
+ <term>
+ <constant>PDO::OCI_ATTR_ACTION</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <para>
+ Позволяет задать действие для сессии.
+ </para>
+ <para>
+ &version.exists.asof; 7.2.16 and 7.3.3
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry xml:id="pdo.constants.oci-attr-client-info">
+ <term>
+ <constant>PDO::OCI_ATTR_CLIENT_INFO</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <para>
+ Позволяет задать информацию по клиенту для сессии.
+ </para>
+ <para>
+ &version.exists.asof; 7.2.16 and 7.3.3
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry xml:id="pdo.constants.oci-attr-client-identifier">
+ <term>
+ <constant>PDO::OCI_ATTR_CLIENT_IDENTIFIER</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <para>
+ Позволяет задать идентификатор клиента для сессии.
+ </para>
+ <para>
+ &version.exists.asof; 7.2.16 and 7.3.3
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry xml:id="pdo.constants.oci-attr-module">
+ <term>
+ <constant>PDO::OCI_ATTR_MODULE</constant>
+ (<type>integer</type>)
+ </term>
+ <listitem>
+ <para>
+ Позволяет задать модуль для сессии.
+ </para>
+ <para>
+ &version.exists.asof; 7.2.16 and 7.3.3
+ </para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+</section>
+
+<!-- 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:"~/.phpdoc/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
+-->
Property changes on: phpdoc/ru/trunk/reference/pdo_oci/constants.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/ru/trunk/reference/sqlite3/sqlite3stmt/getsql.xml
===================================================================
--- phpdoc/ru/trunk/reference/sqlite3/sqlite3stmt/getsql.xml (rev 0)
+++ phpdoc/ru/trunk/reference/sqlite3/sqlite3stmt/getsql.xml 2020-01-06 12:04:33 UTC (rev 348809)
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 346355 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="sqlite3stmt.getsql" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>SQLite3Stmt::getSQL</refname>
+ <refpurpose>Получить SQL запрос в виде строки из запроса</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <type>string</type><methodname>SQLite3Stmt::getSQL</methodname>
+ <methodparam choice="opt"><type>bool</type><parameter>expanded</parameter><initializer>&false;</initializer></methodparam>
+ </methodsynopsis>
+ <para>
+ Возвращает строковое представление SQL запроса для подготовленного
+ запроса. Если параметр <parameter>expanded</parameter>
+ задан как &false;, будет возвращен не модифицированный SQL. Если
+ же <parameter>expanded</parameter> задан как &true;, все
+ подставляемые параметры запроса будут заменены на конкретные
+ значения, либо на <literal>NULL</literal>, если значения еще не были
+ привязаны.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>expanded</parameter></term>
+ <listitem>
+ <para>
+ Заменять ли в возвращаемом SQL-запросе параметры на конкретные
+ значения. &true; поддерживается только с libsqlite 3.14.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Возвращает SQL-запрос из подготовленного запроса, &return.falseforfailure;.
+ </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+ &reftitle.errors;
+ <para>
+ Если <parameter>expanded</parameter> задан как &true;, но версия
+ libsqlite ниже 3.14, будет вызвана ошибка уровня
+ <constant>E_WARNING</constant> либо выброшено исключение
+ <classname>Exception</classname>, в зависимости от настроек
+ <methodname>SQLite3::enableExceptions</methodname>.
+ </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <example xml:id="sqlite3stmt.getsql.example.expanded">
+ <title>Получение расширенного SQL-запроса</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$db = new SQLite3(':memory:');
+$stmt = $db->prepare("SELECT :a, ?, :c");
+$stmt->bindValue(':a', 'foo');
+$answer = 42;
+$stmt->bindParam(2, $answer);
+var_dump($stmt->getSQL(true));
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+string(24) "SELECT 'foo', '42', NULL"
+]]>
+ </screen>
+ </example>
+ </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:"~/.phpdoc/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
+-->
Property changes on: phpdoc/ru/trunk/reference/sqlite3/sqlite3stmt/getsql.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/ru/trunk/reference/ui/ui/point/at.xml
===================================================================
--- phpdoc/ru/trunk/reference/ui/ui/point/at.xml (rev 0)
+++ phpdoc/ru/trunk/reference/ui/ui/point/at.xml 2020-01-06 12:04:33 UTC (rev 348809)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 342988 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="ui-point.at" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>UI\Point::at</refname>
+ <refpurpose>Приведение Size</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <modifier>static</modifier> <type>UI\Point</type><methodname>UI\Point::at</methodname>
+ <methodparam><type>float</type><parameter>point</parameter></methodparam>
+ </methodsynopsis>
+ <methodsynopsis>
+ <modifier>public</modifier> <modifier>static</modifier> <type>UI\Point</type><methodname>UI\Point::at</methodname>
+ <methodparam><type>UI\Size</type><parameter>size</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Должен вернуть объект UI\Point с координатами x и y заданными в виде
+ числа с плавающей либо в виде объекта UI\Size.
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>point</parameter></term>
+ <listitem>
+ <para>
+ Значение для x и y
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>size</parameter></term>
+ <listitem>
+ <para>
+ Объект класса Size для конвертации
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Объект класса Point
+ </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:"~/.phpdoc/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
+-->
Property changes on: phpdoc/ru/trunk/reference/ui/ui/point/at.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property
Added: phpdoc/ru/trunk/reference/ui/ui/size/of.xml
===================================================================
--- phpdoc/ru/trunk/reference/ui/ui/size/of.xml (rev 0)
+++ phpdoc/ru/trunk/reference/ui/ui/size/of.xml 2020-01-06 12:04:33 UTC (rev 348809)
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 342988 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="ui-size.of" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+ <refname>UI\Size::of</refname>
+ <refpurpose>Приведение Point</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+ &reftitle.description;
+ <methodsynopsis>
+ <modifier>public</modifier> <modifier>static</modifier> <type>UI\Size</type><methodname>UI\Size::of</methodname>
+ <methodparam><type>float</type><parameter>size</parameter></methodparam>
+ </methodsynopsis>
+ <methodsynopsis>
+ <modifier>public</modifier> <modifier>static</modifier> <type>UI\Size</type><methodname>UI\Size::of</methodname>
+ <methodparam><type>UI\Point</type><parameter>point</parameter></methodparam>
+ </methodsynopsis>
+ <para>
+ Должен вернуть объект UI\Size с заданными в виде числа с плавающей
+ запятой или в виде объекта UI\Point шириной и высотой
+ </para>
+
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <variablelist>
+ <varlistentry>
+ <term><parameter>size</parameter></term>
+ <listitem>
+ <para>
+ Значение для ширины и высоты
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>point</parameter></term>
+ <listitem>
+ <para>
+ Объект Point для конвертации
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Объект класса Size
+ </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:"~/.phpdoc/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
+-->
Property changes on: phpdoc/ru/trunk/reference/ui/ui/size/of.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property