Commit graph

339 commits

Author SHA1 Message Date
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
Richard Quadling
6f78fd0289 Show E_xxxx as constants.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301114 c90b9560-bf6c-de11-be94-00142212c4b1
2010-07-09 09:57:39 +00:00
Mark Wiesemann
91ff02993b - coding standards
- adding missing "public" modifier

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300786 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-27 19:52:06 +00:00
Daniel Egeberg
9491eaf09c Explained that it is possible accessing private and protected members of other instances of the same object type.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300372 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-11 08:55:34 +00:00
Daniel Egeberg
0640e024d4 Fixed PHP bug #51978
for file in `ack -i '\bA\s+SQL' -l`; do perl -i -pe 's/\b(a)(\s+SQL)/\1n\2/gi' $file; done


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300101 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-02 18:45:11 +00:00
Daniel Egeberg
4ff73f7555 Fixed PHP bug #51885 (Typo, provisio should read "provision")
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299619 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-22 08:27:29 +00:00
Philip Olson
5e05b9d6ea Typo fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@299561 c90b9560-bf6c-de11-be94-00142212c4b1
2010-05-21 06:09:04 +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
d08c651831 Another fix for #51664 (Interfaces page gives unclear information about class constants)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298604 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-26 16:50:06 +00:00
Daniel Egeberg
e209aa52df Fixed PHP bug #51664 (Interfaces page gives unclear information about class constants)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@298601 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-26 16:26:50 +00:00
Peter Cowburn
8cd6280cc6 minor grammar improvements
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297948 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-13 08:54:43 +00:00
Daniel P. Brown
17e93774d1 Not *every* class definition matches this pattern, only basic classes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297937 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-12 23:06:29 +00:00
Mark Wiesemann
c84d13055e - Bug #51500: Online documentation typo in OOP5 overloading
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297638 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-07 19:57:22 +00:00
Philip Olson
3e57d6ccfd Commented out or rewrote PHP 6 documentation as discussed. Grep 'FIXME PHP_6' to fix. Closes PHP Bug #51468
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297557 c90b9560-bf6c-de11-be94-00142212c4b1
2010-04-06 05:24:11 +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
Daniel Egeberg
f5cf87b6e6 Fixing mistakes.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295470 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-24 13:16:50 +00:00
Daniel Egeberg
a3371d8b3e Fixed PHP bug #50870 (Constructor parameters do not have to match those of superclass constructor)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295468 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-24 12:44:37 +00:00
Kalle Sommer Nielsen
2c2e877372 Fixed bug #50961 (Overloading: magic __get method can be created static in older PHP versions)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@295144 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-16 07:39:03 +00:00
Antony Dovgal
71a9cd7583 define $instance and make the example more clear
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294876 c90b9560-bf6c-de11-be94-00142212c4b1
2010-02-11 09:25:27 +00:00
Daniel Egeberg
33f7afff50 Mentioning that shutdown functions and object destructors will be called even if exit() is called.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293992 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-25 15:28:23 +00:00
Mark Wiesemann
e363aaa5e0 coding standards fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293658 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-17 19:57:17 +00:00
Richard Quadling
aabc5b625c WS Tab removal
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293550 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-14 16:21:22 +00:00
Daniel Egeberg
3d0b4e7888 Fixed PHP bug #36172 (subclass serialization of parent private members).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293345 c90b9560-bf6c-de11-be94-00142212c4b1
2010-01-10 13:02:10 +00:00