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\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