Commit graph

361 commits

Author SHA1 Message Date
Jakub Vrana
d6105d5f55 Function entry for __autoload
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322137 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 15:04:13 +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
Jakub Vrana
28d123ef98 Don't use <function> for magic methods
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322134 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 14:14:28 +00:00
Jakub Vrana
bc09a56fb5 Method synopses and IDs for magic methods and function
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322132 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-12 13:55:24 +00:00
Shein Alexey
871545d23e Fixed whitespace.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321337 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-22 16:08:09 +00:00
Philip Olson
4770d2ec38 Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321310 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-22 00:18:45 +00:00
Hannes Magnusson
5340b7c601 Link to a trickery example, fixes bug#60499
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@321294 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-21 15:05:24 +00:00
Brett Bieber
1428093951 Follow coding standards for sample code, as in http://doc.php.net/php/dochowto/chapter-conventions.php #7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320521 c90b9560-bf6c-de11-be94-00142212c4b1
2011-12-06 19:47:01 +00:00
Jakub Vrana
6ee44cfc78 Trait properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@319725 c90b9560-bf6c-de11-be94-00142212c4b1
2011-11-23 20:44:23 +00:00
Peter Cowburn
bc318ee83f static is special keyword too (patch by anon 11351, doc #54038)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@318102 c90b9560-bf6c-de11-be94-00142212c4b1
2011-10-14 11:37:17 +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
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
Hannes Magnusson
4e687b6db5 Clarify when the dtor is actually executed (patch by Rob Allen & Nikita)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316991 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-19 14:12:51 +00:00
Nikita Popov
f055002534 Make abstract constructor signature enforcement more clear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316911 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 13:51:08 +00:00
Nikita Popov
063ff7dedc Followup for Doc Bug #55085: Undocumented BC break with changing __construct() signature
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316905 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 10:01:16 +00:00
Nikita Popov
8f14e1a420 Fix Doc Bug #55085: Undocumented BC break with changing __construct() signature
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@316904 c90b9560-bf6c-de11-be94-00142212c4b1
2011-09-17 09:55:04 +00:00
Etienne Kneuss
7137ccc0fd Mention that __autoload is somehow outdated
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315838 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-31 00:22:27 +00:00
Peter Cowburn
da72824c45 examples ws
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315199 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-19 15:01:58 +00:00
Johannes Schlüter
5c05004b29 nitpicking: PHP 5, not PHP5
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315146 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-18 15:27:50 +00:00
Peter Cowburn
911156099e singleton is bad example for traits
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315127 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-18 09:08:00 +00:00
Peter Cowburn
cff74cb12a fix traits visibility example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315126 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-18 09:00:44 +00:00
Richard Quadling
4f3e16d785 Linking magic methods.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315029 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-16 14:47:47 +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
Justin Martin
7ee2349a71 Added descriptions of trait composition, trait abstraction and static trait members.
Moved examples inline with each respective section.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313491 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-20 22:36:10 +00:00
Peter Cowburn
f6580b6a63 Improved Singleton docs (patch by Gordon Oheim)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313136 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-11 15:48:55 +00:00
Richard Quadling
44341556e9 Use a valid tag for the example's description.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313054 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-07 15:12:39 +00:00
Justin Martin
92e367295e Added a bunch of examples from the RFC.
Fixed the file ending comment.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312791 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-02 01:07:33 +00:00
Jakub Vrana
8888c9528e Future is now
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312729 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-30 20:22:04 +00:00
Richard Quadling
feaaed262e Added complete svn:keyword list
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312632 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 16:45:05 +00:00
Justin Martin
1949cc2d35 Started the OOP5 traits documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@312619 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-29 06:40:04 +00:00
Mike Ford
41e9ddf842 Accept and further improve Anonymous fix of bad English.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311963 c90b9560-bf6c-de11-be94-00142212c4b1
2011-06-09 08:19:03 +00:00
Peter Cowburn
84fee8e038 cannot use var with other visibility keywords
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@311569 c90b9560-bf6c-de11-be94-00142212c4b1
2011-05-30 09:30:50 +00:00
David Tajchreber
ca6478c611 Patch submitted by anonymous person via online editor
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306851 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-30 10:10:51 +00:00
Mark Wiesemann
79ba70edc6 removed leftover word ("when")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306693 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-26 17:25:13 +00:00
Adam Harvey
bae6b5c7e0 Fix doc bug #53283 (PHP.net Website Problem (confusing)).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305233 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-10 03:17:07 +00:00
Kalle Sommer Nielsen
606c44a528 Added a remark about overloaded properties and language constructs (Bug #43936)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304662 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-23 14:06:51 +00:00
Philip Olson
dcac1cb0bf Fixed build
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304570 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 19:20:45 +00:00
Kalle Sommer Nielsen
962b413925 Fixed bug #51381 (Clarify class definition order importance for multiple levels of inheritance)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304561 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 10:25:27 +00:00
Richard Quadling
d25dd45e32 Classes ... is => Classes ... are.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304554 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 09:22:09 +00:00
Kalle Sommer Nielsen
a203d8319f Fixed bug #52716 (Interface difference between 5.2.6 and 5.3.2)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304533 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-20 06:36:21 +00:00
Kalle Sommer Nielsen
a2048ed42f Fixed bug #53058 (__autoload example #1)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304492 c90b9560-bf6c-de11-be94-00142212c4b1
2010-10-19 04:06:38 +00:00
Gustavo André dos Santos Lopes
0c878e752f - Missed a "a" in previous commit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303546 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-19 07:03:08 +00:00
Gustavo André dos Santos Lopes
b579b724d1 - More precise description on how LSB works.
- Differences between $this-> and static:: in non-static contexts.
- Removed vague "edge cases" section, with an example that was not really surprising.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303545 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-19 06:58:29 +00:00
Philip Olson
03977edc1f Clarify __tostring() a little, and mention it must return a string.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303436 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-16 23:48:26 +00:00
Gustavo André dos Santos Lopes
a46a05a003 - Its -> It's (closes bug #52817).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303289 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-12 11:45:09 +00:00
Daniel Egeberg
6e133c0d53 Fixed PHP bug #52494 (description of keyword "new")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302259 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-15 07:39:53 +00:00
Daniel Egeberg
de537ccab1 Better example for #52499
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302257 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-15 07:34:23 +00:00
Daniel Egeberg
966294f125 Fixed PHP bug #52499 (new keyword not fully documented)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302256 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-15 07:29:10 +00:00
Sean Coates
3109183fde fix the iterator implementation. If the array contains a value of false, the previous implementation would bail (the valid() function issues current() which returns false, just as if the array returns false; the new implementation keeps its own index, so there's no need to use current().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301637 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-28 02:59:12 +00:00
Daniel Egeberg
8574a2c1bd Documented constructor changes in PHP 5.3.3.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301474 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-22 17:47:40 +00:00