cvs: phpdoc-hu /reference/classobj/functions method-exists.xml
| From: | Cece) Szabolcs | Date: | Wed, 04 Aug 2004 18:47:37 +0000 |
| Subject: | cvs: phpdoc-hu /reference/classobj/functions method-exists.xml | ||
| Groups: | php.doc.hu | ||
| Request: | Send a blank email to doc-hu+get-854@lists.php.net to get a copy of this message | ||
cece Wed Aug 4 14:47:37 2004 EDT
Modified files:
/phpdoc-hu/reference/classobj/functions method-exists.xml
Log:
sync
http://cvs.php.net/diff.php/phpdoc-hu/reference/classobj/functions/method-exists.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc-hu/reference/classobj/functions/method-exists.xml
diff -u phpdoc-hu/reference/classobj/functions/method-exists.xml:1.2
phpdoc-hu/reference/classobj/functions/method-exists.xml:1.3
--- phpdoc-hu/reference/classobj/functions/method-exists.xml:1.2 Wed Apr 17 02:57:51 2002
+++ phpdoc-hu/reference/classobj/functions/method-exists.xml Wed Aug 4 14:47:36 2004
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- splitted from ./hu/functions/classobj.xml, last change in rev 1.1 -->
<!-- last change to 'method-exists' in en/ tree in rev 1.9 -->
-<!-- EN-Revision: 1.2 Maintainer: goba Status: ready -->
+<!-- EN-Revision: 1.3 Maintainer: cece Status: ready -->
+<!-- CREDITS: goba -->
<!-- OLD-Revision: 1.37/EN.1.9 -->
<refentry id="function.method-exists">
<refnamediv>
@@ -19,6 +20,27 @@
Ez a függvény &true;-val tér vissza, ha a
<parameter>method_name</parameter> nevû metódus definiálva van az adott
<parameter>object</parameter> objektumhoz, különben &false;-szal.
+ </para>
+ <para>
+ <example>
+ <title><function>method_exists</function> példa</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$directory = new Directory('.');
+var_dump(method_exists($directory,'read'));
+?>
+]]>
+ </programlisting>
+ <para>
+ Ez a következõ kimenetet fogja adni:
+ </para>
+ <screen>
+<![CDATA[
+bool(true)
+]]>
+ </screen>
+ </example>
</para>
</refsect1>
</refentry>