Require (again) a Horde_Mime_Part object when creating
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Nov 2008 21:39:51 +0000 (14:39 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 12 Nov 2008 21:39:51 +0000 (14:39 -0700)
commitbcb598283a5360288b07bf97929c62f1f9ad05ea
tree1ae3f933c20f202868f322cc9e95daaa7f84d8d0
parent50b3f83354ae493d4eda65579d3b0d9a6d932cc0
Require (again) a Horde_Mime_Part object when creating

Bite the bullet and required the Horde_Mime_Part object when creating a
Horde_Mime_Viewer instance. Especially for embedded parts, or for
multiparts that may have to recursively look through the subparts, the
information stored in the MIME part may be needed for things like
determining whether a driver can display a part with the given mode.
framework/Mime/lib/Horde/Mime/Viewer.php
framework/Mime/lib/Horde/Mime/Viewer/Driver.php
framework/Mime/lib/Horde/Mime/Viewer/report.php