PHP Class Symfony\Component\CssSelector\XPathExpr

This component is a port of the Python lxml library, which is copyright Infrae and distributed under the BSD license.
Author: Fabien Potencier ([email protected])
ファイルを表示 Open project: pmjones/php-framework-benchmarks Class Usage Examples

Protected Properties

Property Type Description
$condition
$element
$path
$prefix
$starPrefix

Public Methods

Method Description
__construct ( $prefix = null, $path = null, $element = '*', $condition = null, $starPrefix = false )
__toString ( )
addCondition ( $condition )
addNameTest ( )
addPrefix ( $prefix )
addStarPrefix ( )
getCondition ( )
getElement ( )
getPath ( )
getPrefix ( )
hasStarPrefix ( )
join ( $combiner, $other )
xpathLiteral ( $s )

Method Details

__construct() public method

public __construct ( $prefix = null, $path = null, $element = '*', $condition = null, $starPrefix = false )

__toString() public method

public __toString ( )

addCondition() public method

public addCondition ( $condition )

addNameTest() public method

public addNameTest ( )

addPrefix() public method

public addPrefix ( $prefix )

addStarPrefix() public method

public addStarPrefix ( )

getCondition() public method

public getCondition ( )

getElement() public method

public getElement ( )

getPath() public method

public getPath ( )

getPrefix() public method

public getPrefix ( )

hasStarPrefix() public method

public hasStarPrefix ( )

join() public method

public join ( $combiner, $other )

xpathLiteral() public static method

public static xpathLiteral ( $s )

Property Details

$condition protected_oe property

protected $condition

$element protected_oe property

protected $element

$path protected_oe property

protected $path

$prefix protected_oe property

protected $prefix

$starPrefix protected_oe property

protected $starPrefix