Dom/Query/Css2Xpath.php

Show: PublicProtectedPrivateinherited
Table of Contents
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

methodprotected_createContainsExpression(array $matches) : string
static

Callback for creating a strict "contains" expression

Parameters
NameTypeDescription
$matchesarray
Returns
TypeDescription
string
methodprotected_createEqualityExpression(array $matches) : string
static

Callback for creating equality expressions

Parameters
NameTypeDescription
$matchesarray
Returns
TypeDescription
string
methodprotected_normalizeSpaceAttribute(array $matches) : string
static

Callback for creating expressions to match one or more attribute values

Parameters
NameTypeDescription
$matchesarray
Returns
TypeDescription
string
methodprotected_tokenize(string $expression) : string
static

Tokenize CSS expressions to XPath

Parameters
NameTypeDescription
$expressionstring
Returns
TypeDescription
string
methodpublictransform(string $path) : string
static

Transform CSS expression to XPath

Parameters
NameTypeDescription
$pathstring
Returns
TypeDescription
string
Documentation was generated by phpDocumentor 2.2.0 .