mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
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
This commit is contained in:
parent
575e3682f5
commit
e6fa086537
File diff suppressed because it is too large
Load Diff
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user