Dom/Query/Css2Xpath.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled
with this package in the file LICENSE.txt.
It is also available through the world-wide-web at this URL:
http://framework.zend.com/license/new-bsd
If you did not receive a copy of the license and are unable to
obtain it through the world-wide-web, please send an email
to license@zend.com so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Dom
\Zend_Dom_Query_Css2Xpath
Package: Zend_Dom\Query
Transform CSS selectors to XPath
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Version
- $Id$
Methods
_createContainsExpression(array $matches) : string
static
Callback for creating a strict "contains" expression
Parameters
Returns
Name | Type | Description |
---|---|---|
$matches | array |
Type | Description |
---|---|
string |
_createEqualityExpression(array $matches) : string
static
Callback for creating equality expressions
Parameters
Returns
Name | Type | Description |
---|---|---|
$matches | array |
Type | Description |
---|---|
string |
_normalizeSpaceAttribute(array $matches) : string
static
Callback for creating expressions to match one or more attribute values
Parameters
Returns
Name | Type | Description |
---|---|---|
$matches | array |
Type | Description |
---|---|
string |
_tokenize(string $expression) : string
static
Tokenize CSS expressions to XPath
Parameters
Returns
Name | Type | Description |
---|---|---|
$expression | string |
Type | Description |
---|---|
string |