Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

Baigudin Software is unveiled in global edition

Baigudin Software project has been unveiled in English global edition and it always accessed by www.baigudin.software/en/.

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