[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] cvs: phpdoc /en/reference/classobj/functions method-exists.xml
From: "Jakub Vrana" <vrana () php ! net>
Date: 2008-09-17 9:38:48
Message-ID: cvsvrana1221644328 () cvsserver
[Download RAW message or body]
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'));
?>
]]>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic