Copied!

XPath expression translator interface.

This component is a port of the Python cssselect library,
which is copyright Ian Bicking, @see https://github.com/SimonSapin/cssselect.

Cloneable Instantiable
Methods
public __construct ( string $path = '' , string $element = '*' , string $condition = '' , bool $starPrefix = false )
public __toString () : string
public addCondition ( string $condition ) : static
 
  • return $this
public addNameTest () : static
 
  • return $this
public addStarPrefix () : static
 
  • return $this
public getCondition () : string
public getElement () : string
public join ( string $combiner , self $expr ) : static
 

Joins another XPathExpr with a combiner.

  • return $this
Properties
private string $condition
private string $element
private string $path
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration