Re: OO docs

From: Date: Tue, 13 Jan 2004 10:34:43 +0000
Subject: Re: OO docs
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969358157@lists.php.net to get a copy of this message
Gabor Hojtsy wrote:
how are methods supposed to be listed in the manual: foo->bar(); http://www.php.net/manual/en/function.domdocument-add-root.php or foo::bar();
http://pear.php.net/manual/en/package.database.db.db-common.affectedrows.p hp
(I didn't find an example in the php manual quickly, but I think I saw something similar in there as well)
I don't think there was a formal agreement here on this...
Well then should we come to a formal agreement? I dont think this sort of "magic" in the docs makes sense however the ":" could be used for methods that may be called statically and the "->" for methods that dont allow static calls. But again I am not sure if this sort of "magic" is really helpful. Either way it needs to be documented if the method call may be done statically. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07

« previous php.doc (#969358157) next »