class Image extends AbstractUriElement

Image represents an HTML image (an HTML img tag).

Methods

__construct(DOMElement $node, string $currentUri)

No description

getNode()

Gets the node associated with this link.

string
getMethod()

Gets the method associated with this link.

string
getUri()

Gets the URI associated with this link.

Details

at line line 19
__construct(DOMElement $node, string $currentUri)

Parameters

DOMElement $node A \DOMElement instance
string $currentUri The URI of the page where the link is embedded (or the base href)

Exceptions

InvalidArgumentException if the node is not a link

in AbstractUriElement at line line 59
DOMElement getNode()

Gets the node associated with this link.

Return Value

DOMElement A \DOMElement instance

in AbstractUriElement at line line 69
string getMethod()

Gets the method associated with this link.

Return Value

string The method

in AbstractUriElement at line line 79
string getUri()

Gets the URI associated with this link.

Return Value

string The URI