diff options
author | Brad LaFountain <rodif_bl@php.net> | 2002-05-31 05:58:40 +0000 |
---|---|---|
committer | Brad LaFountain <rodif_bl@php.net> | 2002-05-31 05:58:40 +0000 |
commit | e6fa086537c0e7822097f486a615e193b2c25660 (patch) | |
tree | 992e9777ddc0deb2f0e2d04fa9019273c7310c06 /ext/domxml/php_domxml.h | |
parent | 575e3682f53e6e0146bc1aeed9cf721dbb196b35 (diff) | |
download | php-git-e6fa086537c0e7822097f486a615e193b2c25660.tar.gz |
added the ability to use new keywork with domxmls objects "new DomDocument()"
instead of xmldoc. This also allows you to create nodes without having
a whole document "new DomElement("foo")".
moved DOMXML_API_VERSION to php_domxml.h
exposed php_domobject_new for other extensions to use
removed some un-needed code
Diffstat (limited to 'ext/domxml/php_domxml.h')
-rw-r--r-- | ext/domxml/php_domxml.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.h b/ext/domxml/php_domxml.h index 3a9ddba6cf..daea9e1efa 100644 --- a/ext/domxml/php_domxml.h +++ b/ext/domxml/php_domxml.h @@ -47,9 +47,17 @@ #endif #endif +/* DOMXML API_VERSION, please bump it up, if you change anything in the API + therefore it's easier for the script-programmers to check, what's working how + Can be checked with phpversion("domxml"); +*/ +#define DOMXML_API_VERSION "20020530" + extern zend_module_entry domxml_module_entry; #define domxml_module_ptr &domxml_module_entry +PHPAPI zval *php_domobject_new(xmlNodePtr obj, int *found, zval* in TSRMLS_DC); + /* directory functions */ PHP_MINIT_FUNCTION(domxml); PHP_RINIT_FUNCTION(domxml); @@ -138,7 +146,6 @@ PHP_FUNCTION(domxml_attr_value); PHP_FUNCTION(domxml_attr_specified); /* Class Element methods */ -PHP_FUNCTION(domxml_element); PHP_FUNCTION(domxml_elem_tagname); PHP_FUNCTION(domxml_elem_get_attribute); PHP_FUNCTION(domxml_elem_set_attribute); |