Spec-Zone.ru › Symfony 3.2

XPathExpr

class XPathExpr

Интерфейс переводчика выражений XPath.

Этот компонент является портом библиотеки Python cssselect, которая защищена авторским правом Иана Бикинга, см. https://github.com/SimonSapin/cssselect.

Методы

__construct(string $path = '', string $element = '*', string $condition = '', bool $starPrefix = false)
string getElement()
$this addCondition($condition)
string getCondition()
$this addNameTest()
$this addStarPrefix()
$this join(string $combiner, XPathExpr $expr)

Объединяет другой XPathExpr с комбинатором.

string __toString()

Подробности

__construct(string $path = '', string $element = '*', string $condition = '', bool $starPrefix = false)

Параметры

string $path
string $element
string $condition
bool $starPrefix

string getElement()

Значение возвращаемого значения

string

$this addCondition($condition)

Параметры

$condition

Значение возвращаемого значения

$this

string getCondition()

Значение возвращаемого значения

string

$this addNameTest()

Значение возвращаемого значения

$this

$this addStarPrefix()

Значение возвращаемого значения

$this

$this join(string $combiner, XPathExpr $expr)

Объединяет другой XPathExpr с комбинатором.

Параметры

string $combiner
XPathExpr $expr

Значение возвращаемого значения

$this

string __toString()

Значение возвращаемого значения

string

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/CssSelector/XPath/XPathExpr.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API