Baigudin Software avatar
Baigudin Software logo
home
ru region
en region

PHP DOM Builder API 2.0

BOOS Core for Texas Instruments AM18x ARM Microprocessors family is released

Baigudin Software project has represented the BOOS Core operating kernel for AM18x ARM Microprocessors family of Texas Instruments Company.

Interface «DomBuilder\Api\Search»

Elements search by query access declaration.

  • interface Api\Search

All superinterfaces:

Object

public Element filter(string $query);

Filters elements by the query.

The method keeps matched elements by the query. Note: Requested child tags from query string are not processing.

Parameters:
string $query — query string.

Returns:
Element — filtered result.

public Element find(string $query);

Searches child elements by the query.

Parameters:
string $query — query string.

Returns:
Element — searched result.

public Element not(string|Element $query);

Removes elements for matched elements by the query.

The method removes elements by given query. Note: Requested child tags from query string are not processing.

Parameters:
string|Element $query — query string, Element object.

Returns:
Element — parsed result.

public Element parents(string $query);

Searches parent elements by the query.

Parameters:
string $query — query string.

Returns:
Element — searched result.

Back to class list