cvs: phpdoc(REF_STRUCT_DEV) /en/reference/classobj/functions method-exists.xml
| From: | Richard Quadling | Date: | Tue, 16 Oct 2007 10:24:31 +0000 |
| Subject: | cvs: phpdoc(REF_STRUCT_DEV) /en/reference/classobj/functions method-exists.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-232@lists.php.net to get a copy of this message | ||
rquadling Tue Oct 16 10:24:31 2007 UTC
Modified files: (Branch: REF_STRUCT_DEV)
/phpdoc/en/reference/classobj/functions method-exists.xml
Log:
MFH
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/classobj/functions/method-exists.xml?r1=1.8&r2=1.8.2.1&diff_format=u
Index: phpdoc/en/reference/classobj/functions/method-exists.xml
diff -u phpdoc/en/reference/classobj/functions/method-exists.xml:1.8
phpdoc/en/reference/classobj/functions/method-exists.xml:1.8.2.1
--- phpdoc/en/reference/classobj/functions/method-exists.xml:1.8 Wed Jun 20 22:24:16 2007
+++ phpdoc/en/reference/classobj/functions/method-exists.xml Tue Oct 16 10:24:31 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.8.2.1 $ -->
<refentry xml:id="function.method-exists" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>method_exists</refname>
@@ -68,6 +68,23 @@
]]>
</screen>
</example>
+ <example>
+ <title>Static <function>method_exists</function> example</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>
<refsect1 role="seealso">