Re: [pear-webmaster] Pear doc error report

From: Date: Wed, 19 Jun 2002 00:22:58 +0000
Subject: Re: [pear-webmaster] Pear doc error report
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-104@lists.php.net to get a copy of this message
As the $data param could be a string or a file name (depending on the param bool $isfile), I find the name $data enough abstracted. Changing it to $file would confuse people to think that $data can only be a file. Tomas V.V.Cox Dave Darden wrote: > > Error report -- Pear documentation -- $data should be $file in two functions below: > > Mail_mime::addHTMLImage() > > mixed addHTMLImage (string $data, string [$c_type = 'application/octet-stream'] [, > string $name = '' [, boolean $isfile = true]]) > > Mail_mime::addAttachment() > > mixed addAttachment (string $data, string [$c_type = 'application/octet-stream'], > string [$name = ''], boolean [$isfile = true], string [$encoding = 'base64']) > > =============================================== > David A. Darden > CTO, Bid Ocean, Inc. > An Ocean of Opportunities > www.bidocean.com > 970-254-8673

« previous php.pear.webmaster (#104) next »