Re: discrepancies between actual Mail_Mime class and online doc?
| From: | Brett Bieber | Date: | Thu, 25 Feb 2010 17:13:02 +0000 |
| Subject: | Re: discrepancies between actual Mail_Mime class and online doc? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-30319@lists.php.net to get a copy of this message | ||
On Thu, Feb 25, 2010 at 11:03 AM, Robert P. J. Day
<rpjday@crashcourse.ca> wrote:
>
> probably another dumb question (i'm sure there will be more) but i'm
> working my way through the Mail_Mime class, writing some sample PHP
> scripts, and i notice there's some inconsistencies between the actual
> Mail_Mime class (version 1.6.0) and what i read online here:
>
> http://pear.php.net/package/Mail_Mime/docs
>
> first, the method list at that web page is not complete in terms of
> Mail_Mime methods (things like getParam and setParam aren't listed
> among other things ... should they be if that's meant to be a complete
> list?).
>
> next, as before, the reference to the Mail_mimePart::addsubpart()
> method is inconsistent in the case of the method name. (should be
> addSubPart?)
>
> finally, the list on that web page finishes with references to
> methods from the Mail_mimeDecode class, which i'm pretty sure is a
> totally separate PEAR class, is it not? so why would its methods be
> listed on that web page?
This is a known bug - http://pear.php.net/bugs/17040
and
http://pear.php.net/bugs/17145
There is a script which finds end-user documentation matching the
package name, and there's likely a bug in that script.
> just trying to understand how the online docs are supposed to match
> up with the classes.
>
> rday
> --
>
> ========================================================================
> Robert P. J. Day Waterloo, Ontario, CANADA
>
> Linux Consulting, Training and Kernel Pedantry.
>
> Web page:
> http://crashcourse.ca
> Twitter:
> http://twitter.com/rpjday
> ========================================================================
--
Brett Bieber