added note as per Andrei

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@44413 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Beckham 2001-03-27 18:07:37 +00:00
parent d73d10f9db
commit de8e6bd9e6

View file

@ -345,6 +345,17 @@ call_user_method ("print_info", $cntry, "\t");
This function returns an array of method names defined for the
class specified by <parameter>class_name</parameter>.
</para>
<note>
<para>
As of PHP 4.0.5, you can specify the class itself instead of
<parameter>class_name</parameter>. For example:
<informalexample>
<programlisting>
$class_methods = get_class_methods($my_class);
</programlisting>
</informalexample>
</para>
</note>
<para>
<example>
<title><function>get_class_methods</function> example</title>