trait LinkAttributesSetter

Methods

void
setLinkAttributes(Tag $tag, string $linkInfo, string $attrName)

Set a URL or IMG tag's attributes

Details

at line 22
protected void setLinkAttributes(Tag $tag, string $linkInfo, string $attrName)

Set a URL or IMG tag's attributes

Parameters

Tag $tag

URL or IMG tag

string $linkInfo

Link's info: an URL optionally followed by spaces and a title

string $attrName

Name of the URL attribute

Return Value

void