Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API

BOOS Core has been unveiled in second revision

BOOS Core Revision 2 has been successfully unveiled within the framework of Baigudin Software project. In comparison with the first revision, the second has gotten considerable improvements. It saves the best features of previous realization and gets the new logical continuation.

Class «DomBuilder\Element\Img»

img – image.

The img element represents an image.

All implemented interfaces:

Object Builder Property Attribute Traverse Fetch Search Tester

public string|Img alt(string $value=NULL);

Returns or sets a value of 'alt' attribute.

Parameters:
string $value — attribute value.

Returns:
string|Img — a current value or this element.

public string|Img src(string $value=NULL);

Returns or sets a value of 'src' attribute.

Parameters:
string $value — attribute value.

Returns:
string|Img — a current value or this element.

Back to class list