Re: [PHP] Using PHPDocumentor to document the magic functions.

2010-01-12 Thread Richard Quadling
2010/1/12 Jochem Maas : > Op 1/12/10 12:46 PM, Richard Quadling schreef: >> Hi. >> >> To implement public readonly properties you can use getX(), getY(), >> getZ() methods (which then access the private vars) or you can use >> __get($var) to consolidate/simplify the number of methods. >> >> With th

[PHP] Using PHPDocumentor to document the magic functions.

2010-01-12 Thread Richard Quadling
Hi. To implement public readonly properties you can use getX(), getY(), getZ() methods (which then access the private vars) or you can use __get($var) to consolidate/simplify the number of methods. With the discrete getters() it is easy to docblock them. Everything is obvious, but there is a LOT