IMP_Compose_HtmlSignature
in package
Parse HTML signature data.
Tags
Table of Contents
Constants
- HTMLSIG_ATTR = 'imp_htmlsig'
- Signature data attribute name.
Properties
- $dom : Horde_Domhtml
- DOM object containing HTML signature data.
Methods
- __construct() : mixed
- Constructor.
- isSigImage() : bool
- Determine if node contains HTML signature image data.
Constants
HTMLSIG_ATTR
Signature data attribute name.
public
mixed
HTMLSIG_ATTR
= 'imp_htmlsig'
Properties
$dom
DOM object containing HTML signature data.
public
Horde_Domhtml
$dom
Methods
__construct()
Constructor.
public
__construct(string $sig) : mixed
Parameters
- $sig : string
-
HTML signature data.
Tags
isSigImage()
Determine if node contains HTML signature image data.
public
static isSigImage(DOMNode $node[, bool $strip = false ]) : bool
Parameters
- $node : DOMNode
-
The node to check.
- $strip : bool = false
-
Strip attribute from the node?
Return values
bool —True if node contains image data.