Re: One class, one file?

From: Date: Sat, 07 May 2005 12:42:38 +0000
Subject: Re: One class, one file?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37533@lists.php.net to get a copy of this message
On Sat May 07, 2005 at 12:0233PM +0200, Christian Weiske wrote: > >>class Net_Wifi_Data { > >> var $essid = null; > >> var $rate = null; > >>} > > In this case, since you're not using the OO at all I would suggest > > returning an assoc array instead. > > That would prevent me from documenting the meaning of all the fields in > the api docs... So this essentially means that you are opting for an unnecessarily complex and slower solution just because the API documentation would be a bit lacking otherwise? That's what end-user documentation is there for! - Martin

« previous php.pear.dev (#37533) next »