PHP Class Symfony\Component\CssSelector\Node\FunctionNode

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])
Inheritance: implements Symfony\Component\CssSelector\Node\NodeInterface
Show file Open project: pmjones/php-framework-benchmarks Class Usage Examples

Protected Properties

Property Type Description
$expr
$name
$selector
$type
$unsupported

Public Methods

Method Description
__construct ( $selector, $type, $name, $expr )
__toString ( )
toXpath ( )

Protected Methods

Method Description
_xpath_contains ( $xpath, $expr )
_xpath_not ( $xpath, $expr )
_xpath_nth_child ( $xpath, $expr, $last = false, $addNameTest = true )
_xpath_nth_last_child ( $xpath, $expr )
_xpath_nth_last_of_type ( $xpath, $expr )
_xpath_nth_of_type ( $xpath, $expr )
parseSeries ( $s ) Parses things like '1n+2', or 'an+b' generally, returning (a, b)

Method Details

__construct() public method

public __construct ( $selector, $type, $name, $expr )

__toString() public method

public __toString ( )

_xpath_contains() protected method

protected _xpath_contains ( $xpath, $expr )

_xpath_not() protected method

protected _xpath_not ( $xpath, $expr )

_xpath_nth_child() protected method

protected _xpath_nth_child ( $xpath, $expr, $last = false, $addNameTest = true )

_xpath_nth_last_child() protected method

protected _xpath_nth_last_child ( $xpath, $expr )

_xpath_nth_last_of_type() protected method

protected _xpath_nth_last_of_type ( $xpath, $expr )

_xpath_nth_of_type() protected method

protected _xpath_nth_of_type ( $xpath, $expr )

parseSeries() protected method

Parses things like '1n+2', or 'an+b' generally, returning (a, b)
protected parseSeries ( $s )

toXpath() public method

public toXpath ( )

Property Details

$expr protected property

protected $expr

$name protected property

protected $name

$selector protected property

protected $selector

$type protected property

protected $type

$unsupported protected static property

protected static $unsupported