cvs: phpdoc-hu /reference/com/functions com-get.xml

From: Date: Fri, 06 Aug 2004 12:18:48 +0000
Subject: cvs: phpdoc-hu /reference/com/functions com-get.xml
Groups: php.doc.hu 
Request: Send a blank email to doc-hu+get-906@lists.php.net to get a copy of this message
cece Fri Aug 6 08:18:48 2004 EDT Modified files: /phpdoc-hu/reference/com/functions com-get.xml Log: sync http://cvs.php.net/diff.php/phpdoc-hu/reference/com/functions/com-get.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-hu/reference/com/functions/com-get.xml diff -u phpdoc-hu/reference/com/functions/com-get.xml:1.2 phpdoc-hu/reference/com/functions/com-get.xml:1.3 --- phpdoc-hu/reference/com/functions/com-get.xml:1.2 Sun Feb 8 12:36:33 2004 +++ phpdoc-hu/reference/com/functions/com-get.xml Fri Aug 6 08:18:48 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-get' 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-get"> <refnamediv> <refname>com_get</refname> @@ -20,6 +17,24 @@ <parameter>com_object</parameter>-el megadott COM komponensbõl. &false; értékkel tér vissza hiba esetén. </para> + <para> + <example> + <title>A com_get() hívása helyett inkább az OO szintaxist alkalmazd</title> + <programlisting role="php"> +<![CDATA[ +<?php +// így csináld: +$var = $obj->property; +// ne pedig így: +$var = com_get($obj, 'property'); +?> +]]> + </programlisting> + </example> + </para> + + &reference.com.use-oo-instead; + </refsect1> </refentry>

« previous php.doc.hu (#906) next »