#49899 [Opn->Bgs]: Add some documentation (from the notes)
| From: | vrana@php.net | Date: | Fri, 13 Nov 2009 20:34:14 +0000 |
| Subject: | #49899 [Opn->Bgs]: Add some documentation (from the notes) | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3125@lists.php.net to get a copy of this message | ||
ID: 49899
Updated by: vrana@php.net
Reported By: sandervv at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: irrelevant
PHP Version: Irrelevant
New Comment:
We have other ways to spot undocumented functions and to integrate user
notes.
Previous Comments:
------------------------------------------------------------------------
[2009-10-16 12:26:12] sandervv at gmail dot com
Description:
------------
Add some documentation to the reflectionclass.getmethods method
Reproduce code:
---------------
---
From manual page: reflectionclass.getmethods#Description
---
The undocumented filter parameter is pretty straightforward:
its one of:
const integer ReflectionMethod::IS_STATIC = 1 ;
const integer ReflectionMethod::IS_PUBLIC = 256 ;
const integer ReflectionMethod::IS_PROTECTED = 512 ;
const integer ReflectionMethod::IS_PRIVATE = 1024 ;
const integer ReflectionMethod::IS_ABSTRACT = 2 ;
const integer ReflectionMethod::IS_FINAL = 4 ;
and restrict the array returned to those methods matching the filter
type...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49899&edit=1