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
 [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-2021 The PHP Group
All rights reserved.
Last updated: Tue Jun 22 13:01:23 2021 UTC