cvs: phpdoc /en/reference/classobj/functions method-exists.xml

From: Date: Wed, 17 Sep 2008 09:38:48 +0000
Subject: cvs: phpdoc /en/reference/classobj/functions method-exists.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2165@lists.php.net to get a copy of this message
vrana Wed Sep 17 09:38:48 2008 UTC Modified files: /phpdoc/en/reference/classobj/functions method-exists.xml Log: An object parameter can be a class name http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/classobj/functions/method-exists.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc/en/reference/classobj/functions/method-exists.xml diff -u phpdoc/en/reference/classobj/functions/method-exists.xml:1.9 phpdoc/en/reference/classobj/functions/method-exists.xml:1.10 --- phpdoc/en/reference/classobj/functions/method-exists.xml:1.9 Tue Oct 16 10:01:35 2007 +++ phpdoc/en/reference/classobj/functions/method-exists.xml Wed Sep 17 09:38:47 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <refentry xml:id="function.method-exists" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>method_exists</refname> @@ -9,7 +9,7 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>method_exists</methodname> - <methodparam><type>object</type><parameter>object</parameter></methodparam> + <methodparam><type>mixed</type><parameter>object</parameter></methodparam> <methodparam><type>string</type><parameter>method_name</parameter></methodparam> </methodsynopsis> <para> @@ -25,7 +25,7 @@ <term><parameter>object</parameter></term> <listitem> <para> - An object instance + An object instance or a class name </para> </listitem> </varlistentry> @@ -73,7 +73,6 @@ <programlisting role="php"> <![CDATA[ <?php -$directory = new Directory('.'); var_dump(method_exists('Directory','read')); ?> ]]>

« previous php.doc.cvs (#2165) next »