Commit graph

220 commits

Author SHA1 Message Date
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +00:00
Levi Morrison
b19d4e3e25 Clarify purpose of ReflectionType
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338242 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-12 03:35:35 +00:00
Thomas Punt
921933ce5b Document ReflectionGenerator class and methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337577 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-21 16:07:06 +00:00
Thomas Punt
f581e88c2a Document ReflectionGenerator class and methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337576 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-21 16:06:31 +00:00
Thomas Punt
4c106204a1 Document ReflectionFunctionAbstract::getReturnType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337567 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 14:24:18 +00:00
Thomas Punt
e9f4e006a1 Document ReflectionFunctionAbstract::hasReturnType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337566 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 14:06:46 +00:00
Thomas Punt
a8b62d0b29 Document ReflectionParameter::getType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337564 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 13:26:51 +00:00
Thomas Punt
e6572f21bc Document ReflectionParameter::hasType() method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337562 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-20 12:47:35 +00:00
Thomas Punt
484885f2db Rectify ReflectionType::isBuiltin() ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337530 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-18 10:09:46 +00:00
Thomas Punt
b8eddc6d98 Document new ReflectionType class
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337520 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-17 21:20:55 +00:00
Christoph Michael Becker
d6d57b5f93 we can do better than in previous commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337486 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:32:55 +00:00
Christoph Michael Becker
5399e97fab improved ReflectionProperty::isDefault() docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337485 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:29:14 +00:00
Christoph Michael Becker
878a454b06 The isDefault method for ReflectionProperty is unclear in the description. This patch aims to clarify the wording.
-- 
Provided by anonymous 61022 (james@asgrim.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337484 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-15 16:15:48 +00:00
Sherif Ramadan
464f461fbf Add some sensible example for ReflectionParameter::getDeclaringClass()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337035 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-23 14:25:06 +00:00
Maciek Sokolewicz
68b5b97731 fixed various english grammar/spelling mistakes (patches by cmb)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336240 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-29 18:38:13 +00:00
Kalle Sommer Nielsen
af8e8b6315 Updated ReflectionFunctionAbstract::isClosure with an example, improved some other text, and removed the "undocumented" blurb -- Patch by Jeremy Lindblom
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336079 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-17 04:13:27 +00:00
Chris Wright
59e86d208c Undo rev 335242
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335243 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-03 14:06:20 +00:00
Chris Wright
f01033ca6d Add docs for ReflectionParameter::isVariadic()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335242 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-03 13:31:12 +00:00
Adam Harvey
dacbac0ab2 Add isVariadic() method documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335240 c90b9560-bf6c-de11-be94-00142212c4b1
2014-12-03 01:11:28 +00:00
Simion Onea
14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Chris Wright
2d5437d72e Description for $def_value arg for ReflectionClass::getStaticPropertyValue()
-- 
Provided by anonymous 48107 (sun@unleashedmind.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334684 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 13:19:21 +00:00
Adam Harvey
da75c15e02 Update the changed functions list, and integrate the changes into the text.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334639 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-28 05:47:47 +00:00
Tjerk Anne Meesters
32e6d20560 Methods defined in an interface are abstract by definition; there's no need to add the 'abstract' keyword.
In fact, doing this in userland would cause a parse error.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334550 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-14 04:24:14 +00:00
Peter Cowburn
d384c3f8e2 "See also" List extended to easily find the methods for other visibilities and static
-- 
Provided by anonymous 46594

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334176 c90b9560-bf6c-de11-be94-00142212c4b1
2014-07-07 12:27:00 +00:00
Peter Cowburn
e288960f91 Better variable name in example
Patch by Arjen Schol

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334003 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-28 19:18:26 +00:00
Justin Martin
9f1bc3cef4 Clarify purpose of ReflectionParameter::getClass().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332198 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-26 06:54:14 +00:00
Joe Watkins
92a0880a97 #62642 wrong prototype in docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331803 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-13 17:25:01 +00:00
Joe Watkins
4d70c2f850 #65241 correction to params in manual
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331666 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-04 17:07:53 +00:00
Joe Watkins
fd4b8d965b #65349 fix prototype
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331655 c90b9560-bf6c-de11-be94-00142212c4b1
2013-10-03 06:47:00 +00:00
Sebastian Bergmann
656d1610af Add missing modifier information. Patch by Jeff Welch <whatthejeff@gmail.com>.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330543 c90b9560-bf6c-de11-be94-00142212c4b1
2013-06-18 05:36:30 +00:00
Jakub Vrana
b89d5b4683 Add missing version info
Found by PhD

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330435 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-31 22:33:43 +00:00
Jakub Vrana
1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Jakub Vrana
38e65393c5 Use InheritedProperties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330314 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-20 20:36:05 +00:00
Jakub Vrana
78954fcbb8 Link ReflectionExtension::getINIEntries() and ini_get_all()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330275 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 22:57:21 +00:00
Jakub Vrana
87cd7b7508 ReflectionMethod with a single parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330272 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 19:42:57 +00:00
Jakub Vrana
a592ee62e5 Document new method parameters
Checked with http://pastebin.com/PQKzkuQK

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330271 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 19:01:19 +00:00
Jakub Vrana
24ec4b99df Document new Reflection methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330252 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 21:25:05 +00:00
Jakub Vrana
e0fc301e08 Put PHP 5.5 methods to versions.xml
Generated by http://pastebin.com/s5DSrPc3

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330251 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-16 20:34:19 +00:00
Reeze Xia
5070dab783 Typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330175 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-04 06:56:24 +00:00
Sherif Ramadan
a80683c2f5 Added note to documentat that this method is only intended to work with internal classes for getting the default value of static class properties.
Fixes bug #63370 also references bug #51581


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329237 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-19 14:45:34 +00:00
Hannes Magnusson
754904a133 Fixed #63654 ReflectionClass::getConstructor() can return null, not documented
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328599 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 05:25:05 +00:00
Jakub Vrana
fce1841930 getMethod() can throw
Also fix See also

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328225 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-02 19:03:10 +00:00
Hannes Magnusson
858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Justin Martin
f9202b651d Documented many undocumented ReflectionClass methods.
Removed undocumented warnings from a couple of documented methods.
Removed $default parameter from ReflectionClass::getStaticPropertyValue method documentation, as its behaviour is undefined and seems to exist only as an artefact.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325878 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-27 23:08:29 +00:00
Justin Martin
7d5c7b8c2b Removed inaccessible __clone method from ReflectionClass. More likely to come in this regard.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325877 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-27 22:52:04 +00:00
Jakub Vrana
c0afbecbbf Classes with private constructors are not instantiable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324632 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-30 11:13:04 +00:00
Jakub Vrana
dbbf38affc Classes with private constructors are not instantiable
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324631 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-30 11:11:35 +00:00
Jakub Vrana
a09f874049 ReflectionClass::isSubclassOf() checks also interfaces
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324630 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-30 11:06:21 +00:00
Jakub Vrana
f413966fc3 Link get_extension_funcs() and Reflection
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323981 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-07 06:00:24 +00:00
Stanislav Malyshev
2aba10e8d0 fix versions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323561 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-26 07:46:05 +00:00
Jakub Vrana
fcddfb2551 Link directly to magic methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322136 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:01:15 +00:00
Alexander Moskaliov
29db338ddd fix #60685
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321947 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-09 10:10:32 +00:00
Jakub Vrana
d82d2785f3 Use <xi:include>
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321905 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-08 07:02:23 +00:00
Jakub Vrana
bfa3697fc0 Inherited properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321904 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-08 06:41:45 +00:00
Jakub Vrana
d8b968e63c Document public constructors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321901 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-08 05:33:58 +00:00
Jakub Vrana
31ff8f662f Remove duplicate, incomplete and wrongly marked up information
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321891 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 23:21:10 +00:00
Jakub Vrana
8b7c673b80 Link funchand functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321889 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 23:15:53 +00:00
Jakub Vrana
3429fc4d77 Link call_user_func
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321888 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 23:10:41 +00:00
Jakub Vrana
6a5a260320 Returns string with second parameter
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321867 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-07 14:43:19 +00:00
Jakub Vrana
10f0291568 invoke* methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321777 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-05 05:55:06 +00:00
Jakub Vrana
8c6d47907a Improve Reflection
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321705 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-03 06:12:37 +00:00
Hannes Magnusson
5c64b4cd7c class version info, and new php5.4 stuff
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321139 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-18 17:51:51 +00:00
Hannes Magnusson
a184a931ed Enable the reflectionzendextension docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321133 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-18 16:22:48 +00:00
Rafael Dohms
ee884bc377 Updated RefelctionClass::getMethod documentation to properly reflect the return as ReflectionMethod and not "object"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318215 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-19 14:11:00 +00:00
Richard Quadling
3ca0df20f7 Class -> function. Fixes bug #55868
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317888 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-08 09:05:24 +00:00
Richard Quadling
a80530edfb Fixed example. Fixes bug#55869
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317887 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-08 09:02:50 +00:00
Richard Quadling
8b6d169424 Native EOL
Use consistent line terminator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317663 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 16:27:39 +00:00
Richard Quadling
29d60cdd32 Use consistent line terminator.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317652 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-03 13:18:10 +00:00
Richard Quadling
a56106f691 Standardized on double quotes for attributes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317502 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-30 14:21:51 +00:00
Shein Alexey
9b6aa3d5f9 Fix the build.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315808 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-30 19:33:35 +00:00
Hannes Magnusson
e15ee52c4d Fixed bug#49294 (ReflectionExtension::info doesn't return the info)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315777 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-30 12:54:37 +00:00
Sebastian Bergmann
dde7df4766 Fix wording.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315573 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-26 16:49:15 +00:00
Sebastian Bergmann
89834d43bd Fix documentation of ReflectionClass::newInstanceWithoutConstructor().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315572 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-26 16:49:03 +00:00
Peter Cowburn
c35e4f9580 fix build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315541 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-26 08:12:06 +00:00
Sebastian Bergmann
a4b3fb93b4 Document ReflectionClass::newInstanceWithoutConstructor().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315539 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-26 07:53:40 +00:00
Mike Ford
fa6e196973 Improve English: "in case" does not mean "if" (part 1).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313913 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-29 10:46:17 +00:00
Jakub Vrana
24a5309d92 Describe returned array
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313593 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-22 14:50:30 +00:00
Jakub Vrana
fad61b5c27 Extension categorization
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313268 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:33:49 +00:00
Peter Cowburn
c0575c87fb typofix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313130 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-11 11:10:09 +00:00
Nikita Popov
4ce64bd3ca Add some Reflection docs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313064 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-08 13:03:35 +00:00
Jakub Vrana
763ef8d4bb New reflection methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312894 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-04 10:52:59 +00:00
Jakub Vrana
d7f7925af3 Traits reflection
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312893 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-04 10:32:49 +00:00
Jakub Vrana
4df8cf6619 New method
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312705 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 15:13:27 +00:00
Jakub Vrana
238b225ad5 ReflectionZendExtension prototype
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312700 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 14:25:06 +00:00
Jakub Vrana
36869bc1ba New methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312699 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 14:24:48 +00:00
Jakub Vrana
77a28f967d Fix purpose
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312439 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-24 19:00:32 +00:00
Philip Olson
6c26341862 Fixed and linked ReflectionException
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@310723 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-02 22:48:26 +00:00
Peter Cowburn
8632a05fec Typo fix, cass to class - patch by Gordon Oheim
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309980 c90b9560-bf6c-de11-be94-00142212c4b1
2011-04-06 10:12:14 +00:00
Adam Harvey
02a0a89dc6 Fix doc bug #54277 (ReflectionClass::getInterfaceNames() not available in PHP
5.1.6).


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@309321 c90b9560-bf6c-de11-be94-00142212c4b1
2011-03-17 02:47:02 +00:00
Peter Cowburn
9425da2dfa typofix (dittographies)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308547 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-21 21:42:02 +00:00
Jakub Vrana
d3c871ae1e Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308253 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-11 13:16:13 +00:00
Jakub Vrana
4ad81a88ea Fix proto (doc bug #53937)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308178 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-10 11:26:52 +00:00
Adam Harvey
f30cbc9334 Fix doc bug #53490 (ReflectionClass::__construct() documentation incorrect).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306039 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-07 03:05:33 +00:00
Peter Cowburn
7fe0d2a0c4 see also reflectionfunction::export
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304889 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:42:49 +00:00
Peter Cowburn
422eb63281 CS
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304888 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:41:39 +00:00
Peter Cowburn
a912865116 Typos and grammar
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304887 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-25 19:38:17 +00:00
Kalle Sommer Nielsen
22681d58f5 Properly documented the ReflectionFunction class, fixes #52158 (invokeArgs with args should be pass ref cause ReflectionException)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304525 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 02:48:22 +00:00
Richard Quadling
512ae805f6 Constructor's parameter supports closures as of PHP5.3.0.
Updated example and added changelog.
Fix bug #52996

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304139 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-06 10:33:44 +00:00
Adam Harvey
c97fd1494d Fix doc bug #52651 (Typo in reflectionClass::newInstance).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302530 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-20 06:46:00 +00:00
Joris van de Sande
8ce9ec16a2 - Added description for ReflectionMethod class constants
- Corrected example titles, replaced 'ReflectionFunction' by 'ReflectionMethod' for a few ReflectionMethod methods

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301620 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-27 18:48:17 +00:00
Joris van de Sande
314d5d831f - Documented arguments, returnvalues and erros for ReflectionClass methods: getFileName, newInstance, newInstanceArgs and __toString
- Added example for ReflectionClass method __toString

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301619 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-27 18:46:35 +00:00
Peter Cowburn
1df8e4c5c5 added reflectionmethod::setaccessible version info
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301610 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-27 12:43:57 +00:00
Joris van de Sande
a917da5674 - Added parameter and return value documentation for ReflectionMethod constructor
- Updated documentation and added examples for the following ReflectionMethod methods: export, getDeclaringClass, getPrototype, invoke, invokeArgs, isDestructor, __toString

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301478 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-22 20:03:49 +00:00
Joris van de Sande
587df982a2 - Documented/fixed arguments for ReflectionMethod class methods: invoke and invokeArgs
- Documented exceptions for ReflectionMethod class methods: invoke and invokeArgs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301456 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-21 21:38:42 +00:00
Kalle Sommer Nielsen
571258fe2e ReflectionExtension::getdependencies() may return Optional aswell
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299955 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-30 04:10:15 +00:00
Kalle Sommer Nielsen
b5ac8ca1e8 Documented a couple undocumented methods and fixed some bugs here and there
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299908 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-28 14:46:46 +00:00
Philip Olson
27bf45e6df Documented this method. Also note that the methodsynopsis was updated.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298817 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-30 19:04:16 +00:00
Philip Olson
245f225a8d Gently warn/scare users that reflection isn't yet perfect because really, it isn't. Wrote this with Yawk.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298791 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-30 03:27:43 +00:00
Richard Quadling
6898888844 W/S tabs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294409 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-03 14:12:11 +00:00
Daniel Egeberg
68c5267334 Fixed PHP bug #50798 (Unable to retrieve default value of argument of internal method with reflection) and added example to ReflectionParameter::getDefaultValue().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293765 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-20 11:41:23 +00:00
Pierrick Charron
4724b47c25 Added new entities for Properties, Methods, InheritedMethods, Constants
# Those words were hardcoded in all class synopsis 


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@292734 c90b9560-bf6c-de11-be94-00142212c4b1
2009-12-29 09:42:00 +00:00
Jakub Vrana
ccded777d9 Object is instance of class (fixes #49798)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290701 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 21:18:10 +00:00
Jakub Vrana
6209112711 Document filter parameter (bug #49899)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@290691 c90b9560-bf6c-de11-be94-00142212c4b1
2009-11-13 20:36:00 +00:00
Florian Anderiasch
ce8e8ecf30 changed return value from ReflectionParameter to array - fix #49631
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289098 c90b9560-bf6c-de11-be94-00142212c4b1
2009-10-02 20:46:50 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Hannes Magnusson
df208f496d Use the same class/extension as the example output uses
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288460 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-19 18:03:19 +00:00
Hannes Magnusson
6a63bbaba9 Fix syntax highlighting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288459 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-19 18:01:31 +00:00
Sebastian Bergmann
aa33483224 Add documentation stub for ReflectionMethod::setAccessible().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288395 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-17 05:02:35 +00:00
Johannes Schlüter
52ca613e45 ReflectionObject::__construct expects an objeect, no string
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287966 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-02 10:16:36 +00:00
Philip Olson
6c18ab3fe2 - Rewrote the reflection documentation as a book, and removed it from the OOP 5 section
- Many parts are still considered undocumented -- feel free to edit
- Some content stolen from here:
--- http://svn.php.net/viewvc/phpdoc/en/trunk/language/oop5/reflection.xml?revision=283798&view=markup
--- http://svn.php.net/viewvc/php/php-src/trunk/ext/reflection/tests/


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287332 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-15 14:39:48 +00:00