Render a MIME Part.
public renderMIMEPart ( string $mime_id, integer $mode, array $options = [] ) : array | ||
$mime_id | string | The MIME ID to render. |
$mode | integer | One of the RENDER_ constants. |
$options | array | Additional options: - autodetect: (boolean) Attempt to auto-detect MIME type? - mime_part: (Horde_Mime_Part) The MIME part to render. - type: (string) Use this MIME type instead of the MIME type identified in the MIME part. |
리턴 | array | See Horde_Mime_Viewer_Base::render(). The following fields may also be present in addition to the fields defined in Horde_Mime_Viewer_Base: - attach: (boolean) Force display of this part as an attachment. - js: (array) A list of javascript commands to run after the content is displayed on screen. - name: (string) Contains the MIME name information. - wrap: (string) If present, indicates that this part, and all child parts, will be wrapped in a DIV with the given class name. |