#49899 [NEW]: Add some documentation (from the notes)
| From: | sandervv at gmail dot com | Date: | Fri, 16 Oct 2009 12:26:12 +0000 |
| Subject: | #49899 [NEW]: Add some documentation (from the notes) | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-2956@lists.php.net to get a copy of this message | ||
From: sandervv at gmail dot com
Operating system: irrelevant
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Add some documentation (from the notes)
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 bug report at http://bugs.php.net/?id=49899&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49899&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49899&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49899&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49899&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49899&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49899&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49899&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49899&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49899&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49899&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49899&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49899&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49899&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49899&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49899&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49899&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49899&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49899&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49899&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49899&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49899&r=mysqlcfg