mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
76 lines
2.5 KiB
XML
76 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 49ff12041acd30489ef8cb7b1e08ec1ddf4dc6bc Maintainer: leonardolara Status: ready -->
|
|
<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>Constrói um objeto COMPersistHelper</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<constructorsynopsis role="COMPersistHelper">
|
|
<modifier>public</modifier> <methodname>COMPersistHelper::__construct</methodname>
|
|
<methodparam choice="opt"><type class="union"><type>variant</type><type>null</type></type><parameter>variant</parameter><initializer>&null;</initializer></methodparam>
|
|
</constructorsynopsis>
|
|
<para>
|
|
Constrói um objeto auxiliar de persistência, geralmente associado a uma
|
|
<parameter>variant</parameter>.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>variant</parameter></term>
|
|
<listitem>
|
|
<simpara>
|
|
Um objeto <acronym>COM</acronym> que implementa <interfacename>IDispatch</interfacename>.
|
|
Para poder chamar com sucesso qualquer um dos métodos de <classname>COMPersistHelper</classname>, o objeto
|
|
deve implementar <interfacename>IPersistFile</interfacename>, <interfacename>IPersistStream</interfacename>
|
|
e/ou <interfacename>IPersistStreamInit</interfacename>.
|
|
</simpara>
|
|
<simpara>
|
|
Passar &null; como <parameter>variant</parameter> só é útil se o objeto for
|
|
carregado de um fluxo ao chamar <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
|
|
-->
|