mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
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:
parent
d73d10f9db
commit
de8e6bd9e6
1 changed files with 11 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue