Image

class Image extends AbstractUriElement

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

Methods

__construct(DOMElement $node, string $currentUri)
DOMElement getNode()

Gets the node associated with this link.

from AbstractUriElement
string getMethod()

Gets the method associated with this link.

from AbstractUriElement
string getUri()

Gets the URI associated with this link.

from AbstractUriElement

Details

__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

DOMElement getNode()

Gets the node associated with this link.

Return Value

DOMElement A \DOMElement instance

string getMethod()

Gets the method associated with this link.

Return Value

string The method

string getUri()

Gets the URI associated with this link.

Return Value

string The URI
doc_Symfony
2016-10-28 06:20:56
Comments
Leave a Comment

Please login to continue.