Class IMP_Contents_InlineOutput
Render message data meant for inline viewing in a browser.
Methods summary
public
array
|
#
getInlineOutput( IMP_Contents $contents, array $options = array() )
Generate inline message display.
Generate inline message display.
Parameters
- $contents
- Contents object.
- $options
- <p>Options:
- display_mask: (integer) The mask of display view type to render
inline (DEFAULT: RENDER_INLINE_AUTO).
- mask: (integer) The mask needed for a getSummary() call.
- no_inline_all: (boolean) If true, only display first inline part.
Subsequent inline parts will be treated as
attachments.
- part_info_display: (array) The list of summary fields to display.
- show_parts: (string) The value of the 'parts_display' pref.</p>
Returns
array An array with the following keys:
- atc_parts: (array) The list of attachment MIME IDs.
- display_ids: (array) The list of display MIME IDs.
- metadata: (array) A list of metadata.
- msgtext: (string) The rendered HTML code.
- one_part: (boolean) If true, the message only consists of one part.
|