Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

EOOS Automotive R23-03 is released in version v0.11.0

The third official release of EOOS Automotive that is qualified for POSIX and WIN32 compatible operating systems and based on interfaces designed for EOOS RT – real time operating system.

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