API Documentation

Zend/Dom/Query/Css2Xpath.php

Show: inherited
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-2012 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-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Version
$Id: Css2Xpath.php 24594 2012-01-05 21:27:01Z matthew $  

Methods

methodprotected_createContainsExpression( array $matches ) : string
static

Callback for creating a strict "contains" expression

Parameters
Name Type Description
$matches array
Returns
Type Description
string
methodprotected_createEqualityExpression( array $matches ) : string
static

Callback for creating equality expressions

Parameters
Name Type Description
$matches array
Returns
Type Description
string
methodprotected_normalizeSpaceAttribute( array $matches ) : string
static

Callback for creating expressions to match one or more attribute values

Parameters
Name Type Description
$matches array
Returns
Type Description
string
methodprotected_tokenize( string $expression ) : string
static

Tokenize CSS expressions to XPath

Parameters
Name Type Description
$expression string
Returns
Type Description
string
methodpublictransform( string $path ) : string
static

Transform CSS expression to XPath

Parameters
Name Type Description
$path string
Returns
Type Description
string
Documentation was generated by DocBlox 0.15.1.