Public Member Functions | Data Fields

php4DOMXPath Class Reference

Public Member Functions

 xpath_eval ($eval_str)
 php4DOMXPath ($dom_document)
 query ($eval_str)
 xpath_register_ns ($prefix, $namespaceURI)
 php4DOMXPath ($dom_document)
 query ($eval_str, $contextnode)
 xpath_register_ns ($prefix, $namespaceURI)
 xpath_eval ($eval_str)
 php4DOMXPath ($dom_document)
 query ($eval_str)
 xpath_register_ns ($prefix, $namespaceURI)

Data Fields

 $myDOMXPath
 $myOwnerDocument

Detailed Description

Definition at line 596 of file inc.xml5compliance.php.


Member Function Documentation

php4DOMXPath::php4DOMXPath ( dom_document  ) 

Definition at line 606 of file inc.xml5compliance.php.

        {
                $this->myDOMXPath=new DOMXPath($dom_document->myDOMDocument);
        }

php4DOMXPath::php4DOMXPath ( dom_document  ) 

Definition at line 463 of file domxml-php4-php5.php.

        {
echo "-v";
                $this->myOwnerDocument=$dom_document;
                $this->myDOMXPath=new DOMXPath($dom_document->myDOMNode);
        }

php4DOMXPath::php4DOMXPath ( dom_document  ) 

Definition at line 549 of file inc.xml5compliance.php.

        {
                $this->myDOMXPath=new DOMXPath($dom_document->myDOMDocument);
        }

php4DOMXPath::query ( eval_str  ) 

Definition at line 554 of file inc.xml5compliance.php.

        {
                return new php4DOMNodelist($this->myDOMXPath->query($eval_str));
        }

php4DOMXPath::query ( eval_str  ) 

Definition at line 611 of file inc.xml5compliance.php.

        {
                return new php4DOMNodelist($this->myDOMXPath->query($eval_str));
        }

php4DOMXPath::query ( eval_str,
contextnode 
)

Definition at line 470 of file domxml-php4-php5.php.

        {
echo "-w";
                if (isset($contextnode)) return new php4DOMNodelist($this->myDOMXPath->query($eval_str,$contextnode->myDOMNode),$this->myOwnerDocument);
                else return new php4DOMNodelist($this->myDOMXPath->query($eval_str),$this->myOwnerDocument);
        }

php4DOMXPath::xpath_eval ( eval_str  ) 

Definition at line 544 of file inc.xml5compliance.php.

References xpath_eval().

        {
                return xpath_eval($this, $eval_str);
        }

Here is the call graph for this function:

php4DOMXPath::xpath_eval ( eval_str  ) 

Definition at line 601 of file inc.xml5compliance.php.

Referenced by xpath_eval().

        {
                return xpath_eval($this, $eval_str);
        }

Here is the caller graph for this function:

php4DOMXPath::xpath_register_ns ( prefix,
namespaceURI 
)

Definition at line 559 of file inc.xml5compliance.php.

        {
                return $this->myDOMXPath->registerNamespace($prefix,$namespaceURI);
        }

php4DOMXPath::xpath_register_ns ( prefix,
namespaceURI 
)

Definition at line 477 of file domxml-php4-php5.php.

        {
echo "-x";
                return $this->myDOMXPath->registerNamespace($prefix,$namespaceURI);
        }

php4DOMXPath::xpath_register_ns ( prefix,
namespaceURI 
)

Definition at line 616 of file inc.xml5compliance.php.

        {
                return $this->myDOMXPath->registerNamespace($prefix,$namespaceURI);
        }


Field Documentation

php4DOMXPath::$myDOMXPath

Definition at line 598 of file inc.xml5compliance.php.

php4DOMXPath::$myOwnerDocument

Definition at line 462 of file domxml-php4-php5.php.


The documentation for this class was generated from the following files: