Class Query

Summary

Fully Qualified Name: Zend\Dom\Document\Query

Description

Query object executable in a Zend\Dom\Document

Methods

Name Description Defined By
cssToXpath() Transform CSS expression to XPath Query
execute() Perform the query on Document Query

Method Details

cssToXpath()

Transform CSS expression to XPath

Parameter Name Type Description
$path string

Returns: string

execute()

Perform the query on Document

Parameter Name Type Description
$expression string CSS
$document \Document Document
$type string The
$contextNode \DOMNode

Returns: \NodeList

Top