Hoa central
Public Member Functions | List of all members
Hoa\Stream\IStream\Structural Interface Reference
Inheritance diagram for Hoa\Stream\IStream\Structural:

Public Member Functions

 selectRoot ()
 
 selectAnyElements ()
 
 selectElements ($E=null)
 
 selectDescendantElements ($F=null)
 
 selectChildElements ($F=null)
 
 selectAdjacentSiblingElement ($F)
 
 selectSiblingElements ($F=null)
 
 querySelector ($query)
 
 querySelectorAll ($query)
 

Detailed Description

Interface .

Interface for structural input/output.

Definition at line 47 of file Structural.php.

Member Function Documentation

Hoa\Stream\IStream\Structural::querySelector (   $query)

Execute a query selector and return the first result.

Parameters
string$queryQuery.
Returns

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::querySelectorAll (   $query)

Execute a query selector and return one or many results.

Parameters
string$queryQuery.
Returns
array

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::selectAdjacentSiblingElement (   $F)

Select an F element immediately preceded by an E element: E + F.

Parameters
string$FElement F.
Returns

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::selectAnyElements ( )

Select any elements: *.

Returns
array

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::selectChildElements (   $F = null)

Select F elements children of an E element: E > F.

Parameters
string$FElement F.
Returns
array

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::selectDescendantElements (   $F = null)

Select F elements descendant of an E element: E F.

Parameters
string$FElement F.
Returns
array

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::selectElements (   $E = null)

Select elements of type E: E.

Parameters
string$EElement E.
Returns
array

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::selectRoot ( )

Select root of the document: :root.

Returns

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.

Hoa\Stream\IStream\Structural::selectSiblingElements (   $F = null)

Select F elements preceded by an E element: E ~ F.

Parameters
string$FElement F.
Returns
array

Implemented in Hoa\Xml\Xml, and Hoa\Xml\Element\Basic.


The documentation for this interface was generated from the following file: