diff options
author | Rob Richards <rrichards@php.net> | 2003-07-24 13:18:40 +0000 |
---|---|---|
committer | Rob Richards <rrichards@php.net> | 2003-07-24 13:18:40 +0000 |
commit | e8a87e5430dadb4b049d0d0ea0c849fd75c5e0be (patch) | |
tree | 1fb458db6264620f9debeea6f83d0f0013338b4c /ext/dom/dom_fe.h | |
parent | 55097d1dcf6eee94413dc2795f923c0ef9f45d3f (diff) | |
download | php-git-e8a87e5430dadb4b049d0d0ea0c849fd75c5e0be.tar.gz |
initial xpath implementation
make dom_object generic
Diffstat (limited to 'ext/dom/dom_fe.h')
-rw-r--r-- | ext/dom/dom_fe.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/dom/dom_fe.h b/ext/dom/dom_fe.h index 45d05cce28..b540d3bab7 100644 --- a/ext/dom/dom_fe.h +++ b/ext/dom/dom_fe.h @@ -50,6 +50,7 @@ extern zend_function_entry php_dom_entity_class_functions[]; extern zend_function_entry php_dom_entityreference_class_functions[]; extern zend_function_entry php_dom_processinginstruction_class_functions[]; extern zend_function_entry php_dom_string_extend_class_functions[]; +extern zend_function_entry php_dom_xpath_class_functions[]; /* domexception errors */ typedef enum { @@ -234,4 +235,10 @@ PHP_FUNCTION(dom_processinginstruction_processinginstruction); PHP_FUNCTION(dom_string_extend_find_offset16); PHP_FUNCTION(dom_string_extend_find_offset32); +#if defined(LIBXML_XPATH_ENABLED) +/* xpath methods */ +PHP_FUNCTION(dom_xpath_xpath); +PHP_FUNCTION(dom_xpath_query); +#endif + #endif /* DOM_FE_H */ |