cvs: phpdoc-hu /reference/com/functions com-set.xml
| From: | Cece) Szabolcs | Date: | Fri, 06 Aug 2004 12:16:05 +0000 |
| Subject: | cvs: phpdoc-hu /reference/com/functions com-set.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-905@lists.php.net to get a copy of this message | ||
cece Fri Aug 6 08:16:05 2004 EDT
Modified files:
/phpdoc-hu/reference/com/functions com-set.xml
Log:
sync
http://cvs.php.net/diff.php/phpdoc-hu/reference/com/functions/com-set.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-hu/reference/com/functions/com-set.xml
diff -u phpdoc-hu/reference/com/functions/com-set.xml:1.2
phpdoc-hu/reference/com/functions/com-set.xml:1.3
--- phpdoc-hu/reference/com/functions/com-set.xml:1.2 Mon Mar 29 18:18:34 2004
+++ phpdoc-hu/reference/com/functions/com-set.xml Fri Aug 6 08:16:05 2004
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- splitted from ./hu/functions/com.xml, last change in rev 1.1 -->
-<!-- last change to 'com-set' in en/ tree in rev 1.7 -->
-<!-- EN-Revision: 1.2 Maintainer: goba Status: ready -->
-<!-- OLD-Revision: 1.6/EN.1.7 -->
+<!-- EN-Revision: 1.3 Maintainer: goba Status: ready -->
<refentry id="function.com-set">
<refnamediv>
<refname>com_set</refname>
@@ -19,9 +16,28 @@
<para>
Beállítja a <parameter>com_object</parameter> COM komponenes
<parameter>property</parameter> tulajdonságának értékét.
- &true; értékkel tér vissza siker esetén,
- <literal>FLASE</literal> értékkel, ha hiba történt.
+ Az újonnan beállított értékkel tér vissza siker esetén, &false; értékkel,
+ ha hiba történt.
</para>
+
+ <para>
+ <example>
+ <title>A com_set() helyett inkább az OO szintaxist alkalmazd!</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+// Így csináld:
+$obj->property = $value;
+// és ne így:
+com_set($obj, 'property', $value);
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+
+
+ &reference.com.use-oo-instead;
</refsect1>
</refentry>