Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

BOOS Core is released as version 2.1

The new release of BOOS Core has gotten ARM architecture with instruction set version 5, some independent algorithms of any compilers, root interface for all interfaces, and many tiny aspects, which were implemented in 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