svn: /phpdoc/ru/trunk/reference/com/ compersisthelper/construct.xml compersisthelper/getcurfilename.xml compersisthelper/getmaxstreamsize.xml compersisthelper/initnew.xml compersisthelper/loadfromfile.xml compersisthelper/loadfromstream.xml compersisthelper/savetofile.xml compersisthelper/savetostream.xml compersisthelper.xml

[email protected] (Andrey Gromov)
Newsgroups php.doc.ru
Message-ID <[email protected]>
rjhdby                                   Wed, 11 Mar 2020 10:31:01 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=349380

Log:
new

Changed paths:
    A   phpdoc/ru/trunk/reference/com/compersisthelper/construct.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper/getcurfilename.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper/getmaxstreamsize.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper/initnew.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper/loadfromfile.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper/loadfromstream.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper/savetofile.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper/savetostream.xml
    A   phpdoc/ru/trunk/reference/com/compersisthelper.xml
svn-diffs-349380.txt (text/x-diff, 28.9 KB)
Added: phpdoc/ru/trunk/reference/com/compersisthelper/construct.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/construct.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/construct.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349271 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::__construct</refname>
+  <refpurpose>Конструктор класса COMPersistHelper</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <constructorsynopsis>
+   <modifier>public</modifier> <methodname>COMPersistHelper::__construct</methodname>
+   <methodparam choice="opt"><type>variant</type><parameter>com_object</parameter><initializer>&null;</initializer></methodparam>
+  </constructorsynopsis>
+  <para>
+   Создает объект класса COMPersistHelper, обычно связанный с
+   <parameter>com_object</parameter>.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <variablelist>
+   <varlistentry>
+    <term><parameter>com_object</parameter></term>
+    <listitem>
+     <simpara>
+      Объект <acronym>COM</acronym>, реализующий интерфейс <interfacename>IDispatch</interfacename>.
+      Для успешного вызова методов <classname>COMPersistHelper</classname>, обьект должен
+      реализовывать интерфейсы <interfacename>IPersistFile</interfacename>, <interfacename>IPersistStream</interfacename>
+      и/или <interfacename>IPersistStreamInit</interfacename>.
+     </simpara>
+     <simpara>
+      Передача &null; в качестве <parameter>com_object</parameter> оправдана только в том случае, если объект будет загружен из потока
+      с помощью <methodname>COMPersistHelper::LoadFromStream</methodname>.
+     </simpara>
+    </listitem>
+   </varlistentry>
+  </variablelist>
+ </refsect1>
+
+ <!-- Return values commented out, as constructors generally don't return a
+      value. Uncomment this if you do need a return values section (for
+      example, because there's also a procedural version of the method).
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+
+  </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/com/compersisthelper/construct.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/com/compersisthelper/getcurfilename.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/getcurfilename.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/getcurfilename.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349255 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.getcurfilename" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::GetCurFileName</refname>
+  <refpurpose>Получить имя файла</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>string</type><methodname>COMPersistHelper::GetCurFileName</methodname>
+   <void />
+  </methodsynopsis>
+  <para>
+   Возвращает имя файла, связанного с объектом.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Возвращает текущее имя файла, связанного с объектом.
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   Выбрасывает исключение <classname>com_exception</classname>,
+   если связанный объект не реализует <acronym>COM</acronym>
+   интерфейс <interfacename>IPersistFile</interfacename>, либо если
+   вызов <methodname>IPersistFile::GetCurFile</methodname>
+   завершился ошибкой.
+  </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/com/compersisthelper/getcurfilename.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/com/compersisthelper/getmaxstreamsize.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/getmaxstreamsize.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/getmaxstreamsize.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349255 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.getmaxstreamsize" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::GetMaxStreamSize</refname>
+  <refpurpose>Получить максимальный размер потока</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>int</type><methodname>COMPersistHelper::GetMaxStreamSize</methodname>
+   <void />
+  </methodsynopsis>
+  <para>
+   Возвращает размер потока (в байтах), необходимый для
+   сохранения объекта.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   Возвращает размер потока (в байтах), необходимый для
+   сохранения объекта.
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   Выбрасывает исключение <classname>com_exception</classname>,
+   если связанный объект не реализует <acronym>COM</acronym>
+   интерфейс <interfacename>IPersistStreamInit</interfacename>, либо если
+   вызов <methodname>IPersistStream::GetSizeMax</methodname>
+   завершился ошибкой.
+  </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/com/compersisthelper/getmaxstreamsize.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/com/compersisthelper/initnew.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/initnew.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/initnew.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349255 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.initnew" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::InitNew</refname>
+  <refpurpose>Инициализирует объект в состояние по умолчанию</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::InitNew</methodname>
+   <void />
+  </methodsynopsis>
+  <para>
+   Инициализирует объект в состояние по умолчанию.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  &no.function.parameters;
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   Выбрасывает исключение <classname>com_exception</classname>,
+   если связанный объект не реализует <acronym>COM</acronym>
+   интерфейс <interfacename>IPersistStreamInit</interfacename>, либо если
+   вызов <methodname>IPersistStreamInit::Init</methodname>
+   завершился ошибкой.
+  </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/com/compersisthelper/initnew.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/com/compersisthelper/loadfromfile.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/loadfromfile.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/loadfromfile.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349271 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.loadfromfile" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::LoadFromFile</refname>
+  <refpurpose>Загрузить объект из файла</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::LoadFromFile</methodname>
+   <methodparam><type>string</type><parameter>path</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
+  </methodsynopsis>
+  <para>
+   Открывает указанный файл и инициализирует объект из его содержимого.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <variablelist>
+   <varlistentry>
+    <term><parameter>path</parameter></term>
+    <listitem>
+     <simpara>
+      Имя файла.
+     </simpara>
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><parameter>flags</parameter></term>
+    <listitem>
+     <simpara>
+      Режим доступа для доступа к файлу. Допустимые значения
+      указаны в <link xlink:href="https://docs.microsoft.com/en-us/windows/win32/stg/stgm-constants">перечислении STGM</link>.
+      Этот режим считается желаемым, но может быть, по
+      необходимости, изменен на более строгий Если
+      параметр <parameter>flags</parameter> задан как
+      <literal>0</literal>, то файл будет открыт с разрешениями по
+      умолчанию, какие использовались бы, если бы пользователь
+      открывал этот файл.
+     </simpara>
+    </listitem>
+   </varlistentry>
+  </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   Выбрасывает исключение <classname>com_exception</classname>,
+   если связанный объект не реализует <acronym>COM</acronym>
+   интерфейс <interfacename>IPersistFile</interfacename>, либо если
+   вызов <methodname>IPersistFile::Load</methodname>
+   завершился ошибкой.
+  </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/com/compersisthelper/loadfromfile.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/com/compersisthelper/loadfromstream.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/loadfromstream.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/loadfromstream.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349255 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.loadfromstream" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::LoadFromStream</refname>
+  <refpurpose>Загружает объект из потока</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::LoadFromStream</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Загружает объект из потока, где он изначально был сохранён.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <variablelist>
+   <varlistentry>
+    <term><parameter>stream</parameter></term>
+    <listitem>
+     <simpara>
+      Потоковый ресурс для загрузки объекта.
+     </simpara>
+    </listitem>
+   </varlistentry>
+  </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   Выбрасывает исключение <classname>com_exception</classname>,
+   если связанный объект не реализует <acronym>COM</acronym>
+   интерфейс <interfacename>IPersistStream</interfacename>, либо если
+   вызов <methodname>IPersistStream::Load</methodname>
+   завершился ошибкой.
+  </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/com/compersisthelper/loadfromstream.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/com/compersisthelper/savetofile.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/savetofile.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/savetofile.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349271 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.savetofile" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::SaveToFile</refname>
+  <refpurpose>Сохранить объект в файл</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::SaveToFile</methodname>
+   <methodparam choice="opt"><type>string</type><parameter>filename</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>bool</type><parameter>remember</parameter><initializer>&true;</initializer></methodparam>
+  </methodsynopsis>
+  <para>
+   Сохраняет копию объекта в указанный файл.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <variablelist>
+   <varlistentry>
+    <term><parameter>filename</parameter></term>
+    <listitem>
+     <simpara>
+      Имя файла.
+     </simpara>
+    </listitem>
+   </varlistentry>
+   <varlistentry>
+    <term><parameter>remember</parameter></term>
+    <listitem>
+     <simpara>
+      Определяет, будет ли <parameter>filename</parameter>
+      использоваться для текущего рабочего файла. Если &true;, то
+      <parameter>filename</parameter> становится текущим файлом, и
+      объект должен очистить свой флаг dirty после сохранения. Если
+      &false;, то эта операция записи будет считаться как
+      "Save A Copy As ...". В этом случае текущий файл останется без
+      изменений и объект не будет снимать флаг dirty.
+     </simpara>
+    </listitem>
+   </varlistentry>
+  </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   Выбрасывает исключение <classname>com_exception</classname>,
+   если связанный объект не реализует <acronym>COM</acronym>
+   интерфейс <interfacename>IPersistFile</interfacename>, либо если
+   вызов <methodname>IPersistFile::Save</methodname>
+   завершился ошибкой.
+  </para>
+ </refsect1>
+
+ <refsect1 role="examples">
+  &reftitle.examples;
+  <example xml:id="compersisthelper.savetofile.example.basic">
+   <title>Использование <methodname>COMPersistHelper::saveToFile</methodname></title>
+   <programlisting role="php">
+<![CDATA[
+<?php
+$word = new COM('Word.Application');
+$doc = $word->Documents->Add();
+$ph = new COMPersistHelper($doc);
+$ph->SaveToFile('C:\\Users\\cmb\\Documents\\my.docx');
+$word->Quit();
+?>
+]]>
+   </programlisting>
+  </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/com/compersisthelper/savetofile.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/com/compersisthelper/savetostream.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper/savetostream.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper/savetostream.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349255 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<refentry xml:id="compersisthelper.savetostream" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <refnamediv>
+  <refname>COMPersistHelper::SaveToStream</refname>
+  <refpurpose>Сохраняет объект в потоке</refpurpose>
+ </refnamediv>
+
+ <refsect1 role="description">
+  &reftitle.description;
+  <methodsynopsis>
+   <modifier>public</modifier> <type>bool</type><methodname>COMPersistHelper::SaveToStream</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
+  </methodsynopsis>
+  <para>
+   Сохраняет объект в заданном потоке.
+  </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+  &reftitle.parameters;
+  <variablelist>
+   <varlistentry>
+    <term><parameter>stream</parameter></term>
+    <listitem>
+     <simpara>
+      Потоковый ресурс.
+     </simpara>
+    </listitem>
+   </varlistentry>
+  </variablelist>
+ </refsect1>
+
+ <refsect1 role="returnvalues">
+  &reftitle.returnvalues;
+  <para>
+   &return.success;
+  </para>
+ </refsect1>
+
+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   Выбрасывает исключение <classname>com_exception</classname>,
+   если связанный объект не реализует <acronym>COM</acronym>
+   интерфейс <interfacename>IPersistStream</interfacename>, либо если
+   вызов <methodname>IPersistStream::Save</methodname>
+   завершился ошибкой.
+  </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/com/compersisthelper/savetostream.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/com/compersisthelper.xml
===================================================================
--- phpdoc/ru/trunk/reference/com/compersisthelper.xml	                        (rev 0)
+++ phpdoc/ru/trunk/reference/com/compersisthelper.xml	2020-03-11 10:31:01 UTC (rev 349380)
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 349255 Maintainer: rjhdby Status: ready -->
+<!-- Reviewed: no -->
+
+<phpdoc:classref xml:id="class.compersisthelper" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
+
+ <title>Класс COMPersistHelper</title>
+ <titleabbrev>COMPersistHelper</titleabbrev>
+
+ <partintro>
+
+  <!-- {{{ COMPersistHelper intro -->
+  <section xml:id="compersisthelper.intro">
+   &reftitle.intro;
+   <para>
+    <classname>COMPersistHelper</classname> улучшает совместимость <acronym>COM</acronym>
+    и <acronym>PHP</acronym> в отношении &php.ini; директивы <link linkend='ini.open-basedir'>open_basedir</link> и потоковых ресурсов.
+   </para>
+  </section>
+  <!-- }}} -->
+
+  <section xml:id="compersisthelper.synopsis">
+   &reftitle.classsynopsis;
+
+   <!-- {{{ Synopsis -->
+   <classsynopsis>
+    <ooclass><classname>COMPersistHelper</classname></ooclass>
+
+    <!-- {{{ Class synopsis -->
+    <classsynopsisinfo>
+     <ooclass>
+      <modifier>final</modifier>
+      <classname>COMPersistHelper</classname>
+     </ooclass>
+    </classsynopsisinfo>
+    <!-- }}} -->
+
+    <classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.compersisthelper')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[not(@role='procedural')])">
+     <xi:fallback />
+    </xi:include>
+    <xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.compersisthelper')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])">
+     <xi:fallback />
+    </xi:include>
+   </classsynopsis>
+   <!-- }}} -->
+
+  </section>
+
+ </partintro>
+
+ &reference.com.entities.compersisthelper;
+
+</phpdoc:classref>
+
+<!-- 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/com/compersisthelper.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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.