George Peter Banyard
a9edd62d08
Refactor OO section
...
This mostly consists of removing PHP 5 mentions and rewritting the docs accordingly.
Reviewed by Christoph M. Becker <cmbecker69@gmx.de> and Anna Filina <afilina@gmail.com>
Co-authored-by: Anna Filina <afilina@gmail.com>
Closes GH-277
2021-01-13 04:00:03 +00:00
Karoly Negyesi
0c97611503
expand overloading docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347517 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-30 20:13:02 +00:00
Hannes Magnusson
7850a1abc6
Changelog for __get() updated.
...
--
Provided by anonymous 28438 (hanskrentel@yahoo.de )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332595 c90b9560-bf6c-de11-be94-00142212c4b1
2014-01-11 22:56:36 +00:00
Adam Harvey
e49e32a1d3
Drop the note about __isset() not being triggered on empty() — it contradicts
...
the earlier description and, more importantly, is plain wrong.
Fixes doc bug #65625 (Ambiguous text).
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331299 c90b9560-bf6c-de11-be94-00142212c4b1
2013-09-05 21:54:14 +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
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
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
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
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
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
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
Torben Wilson
459f5061ab
Standardize on the term "properties" instead of "members".
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288219 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-10 05:07:22 +00:00
Daniel Convissor
f104a53630
Clean up example titles
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287874 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-29 04:46:31 +00:00
Daniel Convissor
c2bd4ff008
Change literal to function around method names.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287857 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 15:59:28 +00:00
Daniel Convissor
f417871e66
Add a note about chaining assignments, responding to several user notes.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287826 c90b9560-bf6c-de11-be94-00142212c4b1
2009-08-28 03:22:29 +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
Kalle Sommer Nielsen
6943ebb0b1
We always have the latest change first, lets not make this an exception
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278034 c90b9560-bf6c-de11-be94-00142212c4b1
2009-03-30 17:47:29 +00:00
Richard Quadling
66975055a5
Fix #46869
...
___callStatic rather than __callStatic in example #2 title
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271330 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-16 11:20:38 +00:00
Daniel Convissor
682b3832bb
* Tweak method example for clarity.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@262990 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-19 22:59:44 +00:00
Daniel Convissor
cbdd63db2f
* Add changelog entry about warning. Bug 43924.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@261930 c90b9560-bf6c-de11-be94-00142212c4b1
2008-07-02 15:27:47 +00:00
Daniel Convissor
a5fc026ab8
* $name in __callStatic() now case sensitive. Fixed by bug 45089.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260894 c90b9560-bf6c-de11-be94-00142212c4b1
2008-06-07 19:41:23 +00:00
Daniel Convissor
6e92ff6281
* Put a return value in the __get() example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257050 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-09 19:18:17 +00:00
Daniel Convissor
d06dfc1004
* Refine examples: remove return on bad get, show case of $name in call methods.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@256673 c90b9560-bf6c-de11-be94-00142212c4b1
2008-04-02 20:27:13 +00:00
Daniel Convissor
e839ed6d20
Minor clean up of examples.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@255662 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-21 12:46:12 +00:00
Daniel Convissor
bcf53732a1
Clarify how overloading really works.
...
[This is a work in progress. In middle of reviewing user comments and will post some questions to internals.]
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@255638 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-20 23:37:27 +00:00
TAKAGI Masahiro
84e9af5dfa
fix build.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@254013 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-01 05:54:15 +00:00
Daniel Convissor
0d486be007
Explain that __callStatic() was added in 5.3.0.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@254011 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-01 03:30:40 +00:00
Daniel Convissor
7bd3028ed9
Add __callStatic() to oop5 Overloading page and clarify __call() example.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@254010 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-01 02:59:26 +00:00
Daniel Convissor
776d390d42
Remove traling whitespace to avoid unexpected changes later.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@254009 c90b9560-bf6c-de11-be94-00142212c4b1
2008-03-01 02:26:59 +00:00
Felipe Pena
26afa3ae49
Add information about member visibility ( #43539 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@247797 c90b9560-bf6c-de11-be94-00142212c4b1
2007-12-08 22:47:30 +00:00
Felipe Pena
b992715fb1
Fix example output
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@246350 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-17 21:11:13 +00:00
Etienne Kneuss
9ed79ffe2a
Document the fatal error related to function __set(, &) { ..
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@245988 c90b9560-bf6c-de11-be94-00142212c4b1
2007-11-10 16:47:22 +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
Antony Dovgal
20864bf512
fix typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232432 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-23 14:31:12 +00:00
Jakub Vrana
77d2bd839b
__isset is called with empty() too (bug #40797 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@232429 c90b9560-bf6c-de11-be94-00142212c4b1
2007-03-23 14:24:42 +00:00
Etienne Kneuss
f0884026ba
Implement Marcus' suggestion to improve the paragraph on method overloading
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227553 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-18 22:34:53 +00:00
Hannes Magnusson
33dbba307c
Fixed bug#40103 (Visibility should be public for overload methods in the documentation)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@227042 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-11 23:05:52 +00:00
Jakub Vrana
aa9426e7c0
Public in PHP 5.0 (spotted by David Grundl)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207751 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-22 13:26:05 +00:00
Jakub Vrana
251d8ce566
__call can be private
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@207054 c90b9560-bf6c-de11-be94-00142212c4b1
2006-02-13 11:22:15 +00:00
Nuno Lopes
ae2ef28497
fix #34025 : missing __isset and __unset
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@192662 c90b9560-bf6c-de11-be94-00142212c4b1
2005-08-07 11:33:49 +00:00
Jakub Vrana
96bcd84813
__get() accepts string (bug #32961 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185893 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-06 07:40:34 +00:00
Jakub Vrana
e339dcb923
Overloading methods must be public (bug #31806 )
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185287 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-27 14:24:30 +00:00
Jakub Vrana
3d55b0e7c1
Remove doubled words
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185283 c90b9560-bf6c-de11-be94-00142212c4b1
2005-04-27 14:20:09 +00:00
Enrique Garcia Briones
5c045cd687
putting &example.outputs; for each example
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179411 c90b9560-bf6c-de11-be94-00142212c4b1
2005-02-09 21:02:54 +00:00
Aidan Lister
6ae59bfbd5
Applied PEAR coding standards to examples
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169794 c90b9560-bf6c-de11-be94-00142212c4b1
2004-10-02 09:40:52 +00:00
Aidan Lister
5e7b5e8abd
whitespace changes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@169558 c90b9560-bf6c-de11-be94-00142212c4b1
2004-09-29 15:51:49 +00:00
Mehdi Achour
ec08e8b496
A void-returning getter isn't terribly useful
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@167629 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-30 11:39:24 +00:00
Curt Zirzow
a984ca4edd
__get() returns a value
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163706 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-20 04:18:43 +00:00
Curt Zirzow
1379ae6570
The overloading methods and members documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@163705 c90b9560-bf6c-de11-be94-00142212c4b1
2004-07-20 03:51:38 +00:00