PHP Class IMP_Mime_Viewer_Html, horde

Author: Anil Madhavapeddy ([email protected])
Author: Jon Parise ([email protected])
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Mime_Viewer_Html
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_capability array This driver's display capabilities.
$_imptmp array Temp array for storing data when parsing the HTML document.

Protected Methods

Method Description
_IMPrender ( boolean $inline ) : array Render out the currently set contents.
_cidSearch ( string $cid, boolean $save = true ) : string Search for a CID in a related part.
_imgBlock ( ) : boolean Are we blocking images?
_imgBlockImg ( ) : string The HTML image source to use for blocked images.
_node ( $doc, $node )
_parseCss ( $css, $blocked )
_processDomDocument ( $doc )
_render ( ) : array Return the full rendered version of the Horde_Mime_Part object.
_renderInfo ( ) : array Return the rendered information about the Horde_Mime_Part object.
_renderInline ( ) : array Return the rendered inline version of the Horde_Mime_Part object.
_styleCallback ( array $matches ) : string preg_replace_callback() callback for style/background matching of images.

Method Details

_IMPrender() protected method

Render out the currently set contents.
protected _IMPrender ( boolean $inline ) : array
$inline boolean Are we viewing inline?
return array Two elements: html and status.

_cidSearch() protected method

Search for a CID in a related part.
protected _cidSearch ( string $cid, boolean $save = true ) : string
$cid string The CID to query.
$save boolean Save as a CID used?
return string The MIME ID of the part, or null if not found.

_imgBlock() protected method

Are we blocking images?
protected _imgBlock ( ) : boolean
return boolean True if blocking images.

_imgBlockImg() protected method

The HTML image source to use for blocked images.
protected _imgBlockImg ( ) : string
return string The HTML image source.

_node() protected method

protected _node ( $doc, $node )

_parseCss() protected method

protected _parseCss ( $css, $blocked )

_processDomDocument() protected method

protected _processDomDocument ( $doc )

_render() protected method

Return the full rendered version of the Horde_Mime_Part object.
protected _render ( ) : array
return array See parent::render().

_renderInfo() protected method

Return the rendered information about the Horde_Mime_Part object.
protected _renderInfo ( ) : array
return array See parent::render().

_renderInline() protected method

Return the rendered inline version of the Horde_Mime_Part object.
protected _renderInline ( ) : array
return array See parent::render().

_styleCallback() protected method

preg_replace_callback() callback for style/background matching of images.
protected _styleCallback ( array $matches ) : string
$matches array The list of matches.
return string The replacement image string.

Property Details

$_capability protected_oe property

This driver's display capabilities.
protected array $_capability
return array

$_imptmp protected_oe property

Temp array for storing data when parsing the HTML document.
protected array $_imptmp
return array