Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API

Baigudin Software has successfully started in Kaspersky Start program

Baigudin Software has been successfully started in Kaspersky Start program by Kaspersky Lab and performs the BOOS Core operating kernel to it.

Class «DomBuilder\Element\Link»

link – inter-document relationship metadata.

The link element represents metadata that expresses inter-document relationships.

All implemented interfaces:

Object Builder Property Attribute Traverse Fetch Search Tester

public Link typeCss(string $href);

Sets this element as 'text/css' type.

Parameters:
string $href — a value of 'href' attribute.

Returns:
Link — this element.

public Link typeImage(string $href);

Sets tag as 'image/x-icon' type.

Parameters:
string $href — a value of 'href' attribute.

Returns:
Link — this element.

Back to class list