Commit graph

33 commits

Author SHA1 Message Date
George Peter Banyard
a9a6224ca9 Split type declarations into their dedicated page
Remove obsolete OOP5 TypeHinting page
Document union types

Closes GH-174

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351365 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-12 18:39:19 +00:00
George Peter Banyard
cdaea04215 Remove mention of PHP 5 in Language Reference section
This does not cover the OOP nor Error sections, but everything else should be covered

Closes GH-156

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351112 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-31 19:13:58 +00:00
Peter Cowburn
a2063d1336 Add oop5 section for covariance and contravariance with examples.
Patch by Tiffany Taylor (credit also to Mark Randall for help with examples)



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348547 c90b9560-bf6c-de11-be94-00142212c4b1
2019-12-16 20:40:29 +00:00
George Peter Banyard
af6fdf16ab Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347043 c90b9560-bf6c-de11-be94-00142212c4b1
2019-03-24 19:38:53 +00:00
Adam Harvey
6b4b39cc49 Move the (excellent!) anonymous class documentation to the language reference.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337370 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-09 01:17:17 +00:00
Jakub Vrana
b5dd8862bd Delete Patterns chapter
I have a very strong feeling that this chapter doesn't belong to the PHP Manual.
It doesn't document the language but only some usage of it.
It is vastly incomplete and the longest part is warning about using Singleton.
I have no problem with including the examples somewhere else (probably to chapter about static methods).
But it causes more harm than benefit as it is.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325666 c90b9560-bf6c-de11-be94-00142212c4b1
2012-05-13 02:29:51 +00:00
Justin Martin
c8a12f2b59 Added traits to oop5 index.
Fixed some wording and added some in the traits document.
Added trait visibility modification information to the traits document.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313564 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-21 21:49:37 +00:00
Philip Olson
6c9fa8b665 Added an OOP Changelog
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299539 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-20 22:30:34 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +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
Brandon Savage
3110d69f2f Adding serialization documentation stub for PHP 5 and changing links to point to PHP 5 documentation, rather than appendix.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288622 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-23 20:09:24 +00:00
Brandon Savage
f74325fce7 Per the discussion on the PHP-DOC mailing list, the PHP 4 OOP documentation is being relocated to the appendicies. The PHP 5 object documentation is being renamed to Objects and Classes, to reflect that it is the only supported documentation for OOP in PHP. All links have been changed.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288607 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-23 14:14:18 +00:00
Brandon Savage
ab58c4db2e Adding information and example on inheritance as an OOP principle, per PHP-DOC discussion.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288590 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-22 21:33:16 +00:00
Torben Wilson
813758ad4f Cleaned up and made more reference-like.
Split docs for properties out into its own section.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288217 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-10 05:02:52 +00:00
Brandon Savage
debd8760a6 Adding text regarding the functionality in PHP 5's object model.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288211 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-09 20:17:33 +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
Nilgün Belma Bugüner
04077dd209 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283798 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:17:58 +00:00
Hannes Magnusson
3a333b2218 Fix ID
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@270354 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-03 08:38:17 +00:00
Etienne Kneuss
7c129e526c link to it from the oop5 page
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262325 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-09 10:54:19 +00:00
Etienne Kneuss
7bc30b8cfe First attempt at documenting late static bindings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244528 c90b9560-bf6c-de11-be94-00142212c4b1
2007-10-21 00:48:36 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Nuno Lopes
4512031c66 Philip wants an entity there, so create a &tip.userlandnaming; entity
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217980 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-11 16:55:35 +00:00
Nuno Lopes
908322d533 add some links to the userland naming appendix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217978 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-11 16:40:18 +00:00
Jakub Vrana
6afb2b608c Move exceptions from objects (bug #31250)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@175884 c90b9560-bf6c-de11-be94-00142212c4b1
2004-12-29 12:46:06 +00:00
Aidan Lister
3faa2d36b5 Added patterns section
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171542 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-29 11:28:28 +00:00
Aidan Lister
fea8f64e69 Added type hinting
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169825 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-03 04:36:42 +00:00
Aidan Lister
c857b14deb Added autoload
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169236 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-26 00:13:50 +00:00
Curt Zirzow
b3efb3f337 link oop5.basic and oop5.exceptions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166425 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-15 00:17:30 +00:00
Nuno Lopes
1ac85b8934 renaming files and adding initial reflection documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163048 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-11 12:33:25 +00:00
Nuno Lopes
77af3c7273 fix ids, sorry
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163040 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-11 10:06:18 +00:00
Nuno Lopes
f10d6e7422 fix ::
move comparing objects in PHP 5 to oop5


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163039 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-11 09:32:52 +00:00
Curt Zirzow
fc806a11fe watch those tabs.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163014 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-10 19:35:25 +00:00
Curt Zirzow
22cd09f050 The new oop5 documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163012 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-10 19:30:37 +00:00