<?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.7 $ --> <refentry xml:id="function.com-set" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>com_set</refname> <refpurpose>Assigns a value to a COM component's property</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> Deprecated, use the OO syntax instead. </para> <para> <example> <title>OO syntax</title> <programlisting role="php"> <![CDATA[ <?php // do this $obj->property = $value; // instead of this: com_set($obj, 'property', $value); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="notes"> &reftitle.notes; &com.use-oo-instead; </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 -->