cvs: phpdoc-pl /reference/classobj/functions method-exists.xml
| From: | Leszek Krupinski | Date: | Sun, 13 Mar 2005 01:03:18 +0000 |
| Subject: | cvs: phpdoc-pl /reference/classobj/functions method-exists.xml | ||
| Groups: | php.doc.pl | ||
| Request: | Send a blank email to doc-pl+get-589@lists.php.net to get a copy of this message | ||
leszek Sat Mar 12 20:03:18 2005 EDT
Modified files:
/phpdoc-pl/reference/classobj/functions method-exists.xml
Log:
[adi] update to latest EN rev
http://cvs.php.net/diff.php/phpdoc-pl/reference/classobj/functions/method-exists.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc-pl/reference/classobj/functions/method-exists.xml
diff -u phpdoc-pl/reference/classobj/functions/method-exists.xml:1.4
phpdoc-pl/reference/classobj/functions/method-exists.xml:1.5
--- phpdoc-pl/reference/classobj/functions/method-exists.xml:1.4 Mon Feb 23 21:07:20 2004
+++ phpdoc-pl/reference/classobj/functions/method-exists.xml Sat Mar 12 20:03:18 2005
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.2 Maintainer: dombal Status: Ready -->
-<!-- $Revision: 1.4 $ -->
+<!-- EN-Revision: 1.4 Maintainer: dombal Status: Ready -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.method-exists">
<refnamediv>
<refname>method_exists</refname>
@@ -17,6 +17,25 @@
Funkcja ta zwraca &true; je¿eli metoda okre¶lona przez parametr
<parameter>nazwa_metody</parameter> zosta³a zdefiniowany dla obiektu
<parameter>object</parameter>, &false; w przeciwnym przypadku.
+ </para>
+ <para>
+ <example>
+ <title><function>method_exists</function> przyk³ad</title>
+ <programlisting role="php">
+ <![CDATA[
+ <?php
+ $directory = new Directory('.');
+ var_dump(method_exists($directory,'read'));
+ ?>
+ ]]>
+ </programlisting>
+ &example.outputs;
+ <screen>
+ <![CDATA[
+ bool(true)
+ ]]>
+ </screen>
+ </example>
</para>
</refsect1>
</refentry>