cvs: phpdoc-sk /reference/com/functions class.com.xml class.variant.xml com-addref.xml com-get.xml com-invoke.xml com-isenum.xml com-load-typelib.xml
com-load.xml com-propget.xml com-propput.xml com-propset.xml com-release.xml com-set.xml
| From: | Joseph Drake | Date: | Tue, 04 Mar 2003 22:46:06 +0000 |
| Subject: | cvs: phpdoc-sk /reference/com/functions class.com.xml class.variant.xml com-addref.xml com-get.xml com-invoke.xml com-isenum.xml com-load-typelib.xml com-load.xml com-propget.xml com-propput.xml com-propset.xml com-release.xml com-set.xml |
||
| Groups: | php.doc.sk | ||
| Request: | Send a blank email to doc-sk+get-155@lists.php.net to get a copy of this message | ||
joseph Tue Mar 4 17:46:06 2003 EDT
Added files:
/phpdoc-sk/reference/com/functions class.com.xml class.variant.xml
com-addref.xml com-get.xml
com-invoke.xml com-isenum.xml
com-load-typelib.xml
com-load.xml com-propget.xml
com-propput.xml com-propset.xml
com-release.xml com-set.xml
Log:
new one
Index: phpdoc-sk/reference/com/functions/class.com.xml +++ phpdoc-sk/reference/com/functions/class.com.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready--> <!-- splitted from ./en/functions/com.xml, last change in rev 1.12 --> <refentry id="class.com"> <refnamediv> <refname>COM</refname> <refpurpose>COM trieda</refpurpose> </refnamediv> <refsynopsisdiv> <synopsis>$obj = new <classname>COM</classname>("server.object")</synopsis> </refsynopsisdiv> <refsect1 id="class.com.class"> <title>Popis</title> <simpara> COM trieda poskytuje ¹truktúru na integráciu (D)COM komponentov do va¹ich php skriptov. </simpara> </refsect1> <refsect1 id="class.com.constructor"> <title>Metódy</title> <methodsynopsis> <type>string</type><methodname>COM::COM</methodname> <methodparam><type>string</type><parameter>module_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>server_name</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>codepage</parameter></methodparam> </methodsynopsis> <para> Kon¹truktor COM triedy. Parametre: <variablelist> <varlistentry><term>module_name</term> <listitem> <simpara> názov alebo ID triedy po¾adovaného komponentu. </simpara> </listitem> </varlistentry> <varlistentry><term>server_name</term> <listitem> <simpara> názov DCOM servera, z ktorého by sa komponent mal stiahnú». Ak je &null;, prevezme sa <literal>localhost</literal>. K aktivovaniu DCOM musí by» <constant>com.allow_dcom</constant> v &php.ini; nastavený na &true;. </simpara> </listitem> </varlistentry> <varlistentry><term>codepage</term> <listitem> <simpara> urèuje kódovú stránku, ktorá sa pou¾íva na konvertovanie php-re»azcov na unicode-re»azce a naopak. Mo¾né hodnoty sú <constant>CP_ACP</constant>, <constant>CP_MACCP</constant>, <constant>CP_OEMCP</constant>, <constant>CP_SYMBOL</constant>, <constant>CP_THREAD_ACP</constant>, <constant>CP_UTF7</constant> a <constant>CP_UTF8</constant>. </simpara> </listitem> </varlistentry> </variablelist> </para> <para> <example id="example.com1"> <title>COM príklad (1)</title> <programlisting role="php"> <![CDATA[ // spustenie wordu $word = new COM("word.application") or die("Nemozno instanciovat Word"); print "Word nacitany, verzia {$word->Version}\n"; //aktivovat ho $word->Visible = 1; //otovorit prazdny dokument $word->Documents->Add(); //urob nejake haluze $word->Selection->TypeText("Toto je test..."); $word->Documents[1]->SaveAs("Haluz.doc"); //zatvorenie wordu $word->Quit(); //uvolnit objekt $word->Release(); $word = null; ]]> </programlisting> </example> </para> <para> <example id="example.com2"> <title>COM príklad (2)</title> <programlisting role="php"> <![CDATA[ $conn = new COM("ADODB.Connection") or die("Nemozno nastartovat ADO"); $conn->Open("Provider=SQLOLEDB; Data Source=localhost; Initial Catalog=database; User ID=user; Password=password"); $rs = $conn->Execute("SELECT * FROM sometable"); // Recordset $num_columns = $rs->Fields->Count(); echo $num_columns . "\n"; for ($i=0; $i < $num_columns; $i++) { $fld[$i] = $rs->Fields($i); } $rowcount = 0; while (!$rs->EOF) { for ($i=0; $i < $num_columns; $i++) { echo $fld[$i]->value . "\t"; } echo "\n"; $rowcount++; // inkrementuje rowcount $rs->MoveNext(); } $rs->Close(); $conn->Close(); $rs->Release(); $conn->Release(); $rs = null; $conn = null; ]]> </programlisting> </example> </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/class.variant.xml +++ phpdoc-sk/reference/com/functions/class.variant.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="class.variant"> <refnamediv> <refname>VARIANT</refname> <refpurpose>VARIANT trieda</refpurpose> </refnamediv> <refsynopsisdiv> <synopsis>$vVar = new <classname>VARIANT</classname>($var)</synopsis> </refsynopsisdiv> <refsect1 id="class.variant.class"> <title>Popis</title> <simpara> Jednoduchý kontainer na zabalenie premenných do VARIANT ¹truktúr. </simpara> </refsect1> <refsect1 id="class.variant.constructor"> <title>Metódy</title> <methodsynopsis> <type>string</type><methodname>VARIANT::VARIANT</methodname> <methodparam choice="opt"><type>mixed</type><parameter>value</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>codepage</parameter></methodparam> </methodsynopsis> <para> Kon¹truktor VARIANT triedy. Parametre: <variablelist> <varlistentry><term>value</term> <listitem> <simpara> poèitatoèná hodnota. Ak sa vynehá, vytvorí sa objekt VT_EMPTY. </simpara> </listitem> </varlistentry> <varlistentry><term>type</term> <listitem> <simpara> urèuje typ obsahu objektu VARIANT. Mo¾né hodnoty sú <constant>VT_UI1</constant>, <constant>VT_UI2</constant>, <constant>VT_UI4</constant>, <constant>VT_I1</constant>, <constant>VT_I2</constant>, <constant>VT_I4</constant>, <constant>VT_R4</constant>, <constant>VT_R8</constant>, <constant>VT_INT</constant>, <constant>VT_UINT</constant>, <constant>VT_BOOL</constant>, <constant>VT_ERROR</constant>, <constant>VT_CY</constant>, <constant>VT_DATE</constant>, <constant>VT_BSTR</constant>, <constant>VT_DECIMAL</constant>, <constant>VT_UNKNOWN</constant>, <constant>VT_DISPATCH</constant> and <constant>VT_VARIANT</constant>. Tieto hodnoty sa navzájom vyluèujú, ale dajú sa skombinova» s <constant>VT_BYREF</constant> na urèenie hodnoty. Ak sa vynehá, pou¾ije sa typ <parameter>value</parameter>. Pozrite si msdn kni¾nicu pre dodatoèné informácie. </simpara> </listitem> </varlistentry> <varlistentry><term>codepage</term> <listitem> <simpara> urèuje kódovú stránku, ktorá sa pou¾íva na konvertovanie php-re»azcov na unicode-re»azce a naopak. Mo¾né hodnoty sú <constant>CP_ACP</constant>, <constant>CP_MACCP</constant>, <constant>CP_OEMCP</constant>, <constant>CP_SYMBOL</constant>, <constant>CP_THREAD_ACP</constant>, <constant>CP_UTF7</constant> a <constant>CP_UTF8</constant>. </simpara> </listitem> </varlistentry> </variablelist> </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-addref.xml +++ phpdoc-sk/reference/com/functions/com-addref.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-addref"> <refnamediv> <refname>com_addref</refname> <refpurpose> Zvy¹uje referenèné poèítadlo komponentu. </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_addref</methodname> <void/> </methodsynopsis> <para> Zvy¹uje referenèné poèítadlo komponentu. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-get.xml +++ phpdoc-sk/reference/com/functions/com-get.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-get"> <refnamediv> <refname>com_get</refname> <refpurpose> Získava hodnotu vlastnosti COM komponentu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>com_get</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> </methodsynopsis> <para> Vracia hodnotu <parameter>property</parameter> COM komponentu odkazovaného <parameter>com_object</parameter>. Pri chybe vracia &false;. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-invoke.xml +++ phpdoc-sk/reference/com/functions/com-invoke.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-invoke"> <refnamediv> <refname>com_invoke</refname> <refpurpose> Volá metódu COM komponentu. </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>com_invoke</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>function_name</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter> function parameters, ... </parameter></methodparam> </methodsynopsis> <para> <function>com_invoke</function> vyvoláva metódu COM komponentu odkazovaného <parameter>com_object</parameter>. Pri chybe vracia &false;, ak uspeje, vracia hodnotu <parameter>function_name</parameter>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-isenum.xml +++ phpdoc-sk/reference/com/functions/com-isenum.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.27 --> <refentry id='function.com-isenum'> <refnamediv> <refname>com_isenum</refname> <refpurpose>Uchopí IEnumVariant</refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_isenum</methodname> <methodparam><type>object</type><parameter>com_module</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-load-typelib.xml +++ phpdoc-sk/reference/com/functions/com-load-typelib.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.27 --> <refentry id='function.com-load-typelib'> <refnamediv> <refname>com_load_typelib</refname> <refpurpose>Naèítava Typelib</refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_load_typelib</methodname> <methodparam><type>string</type><parameter>typelib_name</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>case_insensitive</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-load.xml +++ phpdoc-sk/reference/com/functions/com-load.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.3 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-load"> <refnamediv> <refname>com_load</refname> <refpurpose> Vytvára nový odkaz na COM komponent </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>string</type><methodname>com_load</methodname> <methodparam><type>string</type><parameter>module_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter> server_name </parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter> codepage </parameter></methodparam> </methodsynopsis> <para> <function>com_load</function> vytvára nový COM komponent a vracia odkaz na neho. Pri chybe vracia &false;. Mo¾né hodnoty pre <parameter>codepage</parameter> sú: <constant>CP_ACP</constant>, <constant>CP_MACCP</constant>, <constant>CP_OEMCP</constant>, <constant>CP_SYMBOL</constant>, <constant>CP_THREAD_ACP</constant>, <constant>CP_UTF7</constant> a <constant>CP_UTF8</constant>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-propget.xml +++ phpdoc-sk/reference/com/functions/com-propget.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-propget"> <refnamediv> <refname>com_propget</refname> <refpurpose> Získava hodnotu vlastnosti COM komponentu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>com_propget</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> </methodsynopsis> <para> Táto funkcia je alias pre <function>com_get</function>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-propput.xml +++ phpdoc-sk/reference/com/functions/com-propput.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-propput"> <refnamediv> <refname>com_propput</refname> <refpurpose> Vlastnosti COM komponentu priraïuje hodnotu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_propput</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Táto funkcia je alias pre <function>com_set</function>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-propset.xml +++ phpdoc-sk/reference/com/functions/com-propset.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-propset"> <refnamediv> <refname>com_propset</refname> <refpurpose> Vlastnosti COM komponentu priraïuje hodnotu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_propset</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Táto funkcia je alias pre <function>com_set</function>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-release.xml +++ phpdoc-sk/reference/com/functions/com-release.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-release"> <refnamediv> <refname>com_release</refname> <refpurpose> Zni¾uje referenèné poèítadlo komponentu. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>void</type><methodname>com_release</methodname> <void/> </methodsynopsis> <para> Zni¾uje referenèné poèítadlo komponentu. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-set.xml +++ phpdoc-sk/reference/com/functions/com-set.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-set"> <refnamediv> <refname>com_set</refname> <refpurpose> Vlastnosti COM komponentu priraïuje hodnotu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_set</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Nastavuje hodnotu <parameter>property</parameter> COM komponentu odkazovaného <parameter>com_object</parameter>. Ak je úspe¹ná, vracia novo nastavenú hodnotu, pri chybe &false;. </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:"../../../../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 -->
Index: phpdoc-sk/reference/com/functions/class.com.xml +++ phpdoc-sk/reference/com/functions/class.com.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready--> <!-- splitted from ./en/functions/com.xml, last change in rev 1.12 --> <refentry id="class.com"> <refnamediv> <refname>COM</refname> <refpurpose>COM trieda</refpurpose> </refnamediv> <refsynopsisdiv> <synopsis>$obj = new <classname>COM</classname>("server.object")</synopsis> </refsynopsisdiv> <refsect1 id="class.com.class"> <title>Popis</title> <simpara> COM trieda poskytuje ¹truktúru na integráciu (D)COM komponentov do va¹ich php skriptov. </simpara> </refsect1> <refsect1 id="class.com.constructor"> <title>Metódy</title> <methodsynopsis> <type>string</type><methodname>COM::COM</methodname> <methodparam><type>string</type><parameter>module_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>server_name</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>codepage</parameter></methodparam> </methodsynopsis> <para> Kon¹truktor COM triedy. Parametre: <variablelist> <varlistentry><term>module_name</term> <listitem> <simpara> názov alebo ID triedy po¾adovaného komponentu. </simpara> </listitem> </varlistentry> <varlistentry><term>server_name</term> <listitem> <simpara> názov DCOM servera, z ktorého by sa komponent mal stiahnú». Ak je &null;, prevezme sa <literal>localhost</literal>. K aktivovaniu DCOM musí by» <constant>com.allow_dcom</constant> v &php.ini; nastavený na &true;. </simpara> </listitem> </varlistentry> <varlistentry><term>codepage</term> <listitem> <simpara> urèuje kódovú stránku, ktorá sa pou¾íva na konvertovanie php-re»azcov na unicode-re»azce a naopak. Mo¾né hodnoty sú <constant>CP_ACP</constant>, <constant>CP_MACCP</constant>, <constant>CP_OEMCP</constant>, <constant>CP_SYMBOL</constant>, <constant>CP_THREAD_ACP</constant>, <constant>CP_UTF7</constant> a <constant>CP_UTF8</constant>. </simpara> </listitem> </varlistentry> </variablelist> </para> <para> <example id="example.com1"> <title>COM príklad (1)</title> <programlisting role="php"> <![CDATA[ // spustenie wordu $word = new COM("word.application") or die("Nemozno instanciovat Word"); print "Word nacitany, verzia {$word->Version}\n"; //aktivovat ho $word->Visible = 1; //otovorit prazdny dokument $word->Documents->Add(); //urob nejake haluze $word->Selection->TypeText("Toto je test..."); $word->Documents[1]->SaveAs("Haluz.doc"); //zatvorenie wordu $word->Quit(); //uvolnit objekt $word->Release(); $word = null; ]]> </programlisting> </example> </para> <para> <example id="example.com2"> <title>COM príklad (2)</title> <programlisting role="php"> <![CDATA[ $conn = new COM("ADODB.Connection") or die("Nemozno nastartovat ADO"); $conn->Open("Provider=SQLOLEDB; Data Source=localhost; Initial Catalog=database; User ID=user; Password=password"); $rs = $conn->Execute("SELECT * FROM sometable"); // Recordset $num_columns = $rs->Fields->Count(); echo $num_columns . "\n"; for ($i=0; $i < $num_columns; $i++) { $fld[$i] = $rs->Fields($i); } $rowcount = 0; while (!$rs->EOF) { for ($i=0; $i < $num_columns; $i++) { echo $fld[$i]->value . "\t"; } echo "\n"; $rowcount++; // inkrementuje rowcount $rs->MoveNext(); } $rs->Close(); $conn->Close(); $rs->Release(); $conn->Release(); $rs = null; $conn = null; ]]> </programlisting> </example> </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/class.variant.xml +++ phpdoc-sk/reference/com/functions/class.variant.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="class.variant"> <refnamediv> <refname>VARIANT</refname> <refpurpose>VARIANT trieda</refpurpose> </refnamediv> <refsynopsisdiv> <synopsis>$vVar = new <classname>VARIANT</classname>($var)</synopsis> </refsynopsisdiv> <refsect1 id="class.variant.class"> <title>Popis</title> <simpara> Jednoduchý kontainer na zabalenie premenných do VARIANT ¹truktúr. </simpara> </refsect1> <refsect1 id="class.variant.constructor"> <title>Metódy</title> <methodsynopsis> <type>string</type><methodname>VARIANT::VARIANT</methodname> <methodparam choice="opt"><type>mixed</type><parameter>value</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>type</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>codepage</parameter></methodparam> </methodsynopsis> <para> Kon¹truktor VARIANT triedy. Parametre: <variablelist> <varlistentry><term>value</term> <listitem> <simpara> poèitatoèná hodnota. Ak sa vynehá, vytvorí sa objekt VT_EMPTY. </simpara> </listitem> </varlistentry> <varlistentry><term>type</term> <listitem> <simpara> urèuje typ obsahu objektu VARIANT. Mo¾né hodnoty sú <constant>VT_UI1</constant>, <constant>VT_UI2</constant>, <constant>VT_UI4</constant>, <constant>VT_I1</constant>, <constant>VT_I2</constant>, <constant>VT_I4</constant>, <constant>VT_R4</constant>, <constant>VT_R8</constant>, <constant>VT_INT</constant>, <constant>VT_UINT</constant>, <constant>VT_BOOL</constant>, <constant>VT_ERROR</constant>, <constant>VT_CY</constant>, <constant>VT_DATE</constant>, <constant>VT_BSTR</constant>, <constant>VT_DECIMAL</constant>, <constant>VT_UNKNOWN</constant>, <constant>VT_DISPATCH</constant> and <constant>VT_VARIANT</constant>. Tieto hodnoty sa navzájom vyluèujú, ale dajú sa skombinova» s <constant>VT_BYREF</constant> na urèenie hodnoty. Ak sa vynehá, pou¾ije sa typ <parameter>value</parameter>. Pozrite si msdn kni¾nicu pre dodatoèné informácie. </simpara> </listitem> </varlistentry> <varlistentry><term>codepage</term> <listitem> <simpara> urèuje kódovú stránku, ktorá sa pou¾íva na konvertovanie php-re»azcov na unicode-re»azce a naopak. Mo¾né hodnoty sú <constant>CP_ACP</constant>, <constant>CP_MACCP</constant>, <constant>CP_OEMCP</constant>, <constant>CP_SYMBOL</constant>, <constant>CP_THREAD_ACP</constant>, <constant>CP_UTF7</constant> a <constant>CP_UTF8</constant>. </simpara> </listitem> </varlistentry> </variablelist> </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-addref.xml +++ phpdoc-sk/reference/com/functions/com-addref.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-addref"> <refnamediv> <refname>com_addref</refname> <refpurpose> Zvy¹uje referenèné poèítadlo komponentu. </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_addref</methodname> <void/> </methodsynopsis> <para> Zvy¹uje referenèné poèítadlo komponentu. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-get.xml +++ phpdoc-sk/reference/com/functions/com-get.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-get"> <refnamediv> <refname>com_get</refname> <refpurpose> Získava hodnotu vlastnosti COM komponentu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>com_get</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> </methodsynopsis> <para> Vracia hodnotu <parameter>property</parameter> COM komponentu odkazovaného <parameter>com_object</parameter>. Pri chybe vracia &false;. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-invoke.xml +++ phpdoc-sk/reference/com/functions/com-invoke.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-invoke"> <refnamediv> <refname>com_invoke</refname> <refpurpose> Volá metódu COM komponentu. </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>com_invoke</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>function_name</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter> function parameters, ... </parameter></methodparam> </methodsynopsis> <para> <function>com_invoke</function> vyvoláva metódu COM komponentu odkazovaného <parameter>com_object</parameter>. Pri chybe vracia &false;, ak uspeje, vracia hodnotu <parameter>function_name</parameter>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-isenum.xml +++ phpdoc-sk/reference/com/functions/com-isenum.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.27 --> <refentry id='function.com-isenum'> <refnamediv> <refname>com_isenum</refname> <refpurpose>Uchopí IEnumVariant</refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_isenum</methodname> <methodparam><type>object</type><parameter>com_module</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-load-typelib.xml +++ phpdoc-sk/reference/com/functions/com-load-typelib.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.27 --> <refentry id='function.com-load-typelib'> <refnamediv> <refname>com_load_typelib</refname> <refpurpose>Naèítava Typelib</refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_load_typelib</methodname> <methodparam><type>string</type><parameter>typelib_name</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>case_insensitive</parameter></methodparam> </methodsynopsis> <para> &warn.undocumented.func; </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-load.xml +++ phpdoc-sk/reference/com/functions/com-load.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.3 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-load"> <refnamediv> <refname>com_load</refname> <refpurpose> Vytvára nový odkaz na COM komponent </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>string</type><methodname>com_load</methodname> <methodparam><type>string</type><parameter>module_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter> server_name </parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter> codepage </parameter></methodparam> </methodsynopsis> <para> <function>com_load</function> vytvára nový COM komponent a vracia odkaz na neho. Pri chybe vracia &false;. Mo¾né hodnoty pre <parameter>codepage</parameter> sú: <constant>CP_ACP</constant>, <constant>CP_MACCP</constant>, <constant>CP_OEMCP</constant>, <constant>CP_SYMBOL</constant>, <constant>CP_THREAD_ACP</constant>, <constant>CP_UTF7</constant> a <constant>CP_UTF8</constant>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-propget.xml +++ phpdoc-sk/reference/com/functions/com-propget.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-propget"> <refnamediv> <refname>com_propget</refname> <refpurpose> Získava hodnotu vlastnosti COM komponentu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>mixed</type><methodname>com_propget</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> </methodsynopsis> <para> Táto funkcia je alias pre <function>com_get</function>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-propput.xml +++ phpdoc-sk/reference/com/functions/com-propput.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-propput"> <refnamediv> <refname>com_propput</refname> <refpurpose> Vlastnosti COM komponentu priraïuje hodnotu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_propput</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Táto funkcia je alias pre <function>com_set</function>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-propset.xml +++ phpdoc-sk/reference/com/functions/com-propset.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-propset"> <refnamediv> <refname>com_propset</refname> <refpurpose> Vlastnosti COM komponentu priraïuje hodnotu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_propset</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Táto funkcia je alias pre <function>com_set</function>. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-release.xml +++ phpdoc-sk/reference/com/functions/com-release.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-release"> <refnamediv> <refname>com_release</refname> <refpurpose> Zni¾uje referenèné poèítadlo komponentu. </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>void</type><methodname>com_release</methodname> <void/> </methodsynopsis> <para> Zni¾uje referenèné poèítadlo komponentu. </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:"../../../../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 --> Index: phpdoc-sk/reference/com/functions/com-set.xml +++ phpdoc-sk/reference/com/functions/com-set.xml <?xml version="1.0" encoding="iso-8859-2"?> <!-- EN-Revision: 1.2 Maintainer: joseph Status: ready --> <!-- splitted from ./en/functions/com.xml, last change in rev 1.7 --> <refentry id="function.com-set"> <refnamediv> <refname>com_set</refname> <refpurpose> Vlastnosti COM komponentu priraïuje hodnotu </refpurpose> </refnamediv> <refsect1> <title>Popis</title> <methodsynopsis> <type>void</type><methodname>com_set</methodname> <methodparam><type>resource</type><parameter>com_object</parameter></methodparam> <methodparam><type>string</type><parameter>property</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> </methodsynopsis> <para> Nastavuje hodnotu <parameter>property</parameter> COM komponentu odkazovaného <parameter>com_object</parameter>. Ak je úspe¹ná, vracia novo nastavenú hodnotu, pri chybe &false;. </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:"../../../../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 -->