php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #49899 Add some documentation (from the notes)
Submitted: 2009-10-16 12:26 UTC Modified: 2009-11-13 20:34 UTC
From: sandervv at gmail dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sandervv at gmail dot com
New email:
PHP Version: OS:

 

 [2009-10-16 12:26 UTC] 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...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-13 20:34 UTC] vrana@php.net
We have other ways to spot undocumented functions and to integrate user notes.
 [2009-11-13 20:36 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290691
Log: Document filter parameter (bug #49899)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 17:01:29 2024 UTC