Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

Baigudin Software successfully starts 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.

Interface «DomBuilder\Api\Tester»

Elements properties tester access declaration.

  • interface Api\Tester

All superinterfaces:

Object

public bool isElementsAttr(string $name, string $value=NULL);

Tests if each element has a given attribute name and its value.

The method returns true if each element has given attribute name and its value equals the given value. If the value argument is defaulted, the method returns true if each element has only given attribute name.

Parameters:
string $name — attribute name.
string $value — attribute value.

Returns:
bool — true if each element matches given arguments.

public bool isElementsClassName(string $name);

Tests if each element has a given class name.

Parameters:
string $name — class name.

Returns:
bool — true if each element has given class name.

public bool isElementsId(string $id);

Tests if each element has a given ID value.

Parameters:
string $id — ID value.

Returns:
bool — true if each element has given ID value.

public bool isElementsTagName(string $name);

Tests if each element has a given tag name.

Parameters:
string $name — tag name.

Returns:
bool — true if each element has given tag name.

Back to class list