Свойство | Type | Description | |
---|---|---|---|
$_capability | array | This driver's display capabilities. | |
$_phishCss | string | The CSS used to display the phishing warning. | |
$_phishWarn | boolean | Phishing status of last call to _phishingCheck(). | |
$_tmp | array | Temp array for storing data when parsing the HTML document. |
Méthode | Description | |
---|---|---|
__construct ( Horde_Mime_Part $part, array $conf = [] ) | Constructor. |
Méthode | Description | |
---|---|---|
_cleanHTML ( string $data, array $options = [] ) : Horde_Domhtml | Filters active content, dereferences external links, detects phishing, etc. | |
_node ( DOMDocument $doc, DOMNode $node ) | Process DOM node. | |
_phishingCheck ( string $href, string $text ) : boolean | Check for phishing exploits. | |
_render ( ) : array | Return the full rendered version of the Horde_Mime_Part object. | |
_renderInline ( ) : array | Return the rendered inline version of the Horde_Mime_Part object. |
public __construct ( Horde_Mime_Part $part, array $conf = [] ) | ||
$part | Horde_Mime_Part | |
$conf | array | Configuration: - browser: (Horde_Browser) A browser object. - dns: (Net_DNS2_Resolver) A DNS resolver object; used in phishing analysis (@since 2.1.0). - external_callback: (callback) A callback function that a href URL is passed through. The function must take the original URL as the first parameter. DEFAULT: No callback |
protected _cleanHTML ( string $data, array $options = [] ) : Horde_Domhtml | ||
$data | string | The HTML data. |
$options | array | Additional options: - charset: (string) The charset of $data. DEFAULT: The base part charset. - inline: (boolean) Are we viewing inline? DEFAULT: false - noprefetch: (boolean) Disable DNS prefetching? DEFAULT: false - phishing: (boolean) Do phishing highlighting even if not viewing inline. DEFAULT: false. |
Résultat | Horde_Domhtml | The cleaned HTML data. |
protected _node ( DOMDocument $doc, DOMNode $node ) | ||
$doc | DOMDocument | Document node. |
$node | DOMNode | Node. |
protected _renderInline ( ) : array | ||
Résultat | array | See parent::render(). |
protected array $_capability | ||
Résultat | array |
protected string $_phishCss | ||
Résultat | string |
protected bool $_phishWarn | ||
Résultat | boolean |
protected array $_tmp | ||
Résultat | array |