API Documentation

Dom/Query/Css2Xpath.php

Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dom
Classes
Zend_Dom_Query_Css2Xpath

Description

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.

Zend_Dom_Query_Css2Xpath

copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Dom
subpackage
Query
version
$Id: Css2Xpath.php 22045 2010-04-28 19:59:49Z matthew $
Methods
transform
_tokenize
_createEqualityExpression
_normalizeSpaceAttribute
_createContainsExpression

Description

Transform CSS selectors to XPath

Methods

_createContainsExpression

_createContainsExpression( array $matches ) : string

Callback for creating a strict "contains" expression

Arguments
$matches
array
Output
string
Details
visibility
protected
final
false
static
true

_createEqualityExpression

_createEqualityExpression( array $matches ) : string

Callback for creating equality expressions

Arguments
$matches
array
Output
string
Details
visibility
protected
final
false
static
true

_normalizeSpaceAttribute

_normalizeSpaceAttribute( array $matches ) : string

Callback for creating expressions to match one or more attribute values

Arguments
$matches
array
Output
string
Details
visibility
protected
final
false
static
true

_tokenize

_tokenize( string $expression ) : string

Tokenize CSS expressions to XPath

Arguments
$expression
string
Output
string
Details
visibility
protected
final
false
static
true

transform

transform( string $path ) : string

Transform CSS expression to XPath

Arguments
$path
string
Output
string
Details
visibility
public
final
false
static
true
Documentation was generated by DocBlox.