diff options
author | Christian Stocker <chregu@php.net> | 2002-07-01 14:48:38 +0000 |
---|---|---|
committer | Christian Stocker <chregu@php.net> | 2002-07-01 14:48:38 +0000 |
commit | e1483035b69bf7d52ea25e17c9b95c4bb4d2dc9b (patch) | |
tree | ff6586729139e897496fab43b732097cd69352f2 /ext/domxml/php_domxml.c | |
parent | 4b321b043051c1cdd5ec9f3e2a2cbddc7fdb05b5 (diff) | |
download | php-git-e1483035b69bf7d52ea25e17c9b95c4bb4d2dc9b.tar.gz |
outcomment everything related to domxml_elem_set_attribute_node(). This
function is not implemented and shouldn't show up at all for the time
being
Diffstat (limited to 'ext/domxml/php_domxml.c')
-rw-r--r-- | ext/domxml/php_domxml.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index c910c7dfac..c25d26ed01 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -412,7 +412,9 @@ static zend_function_entry php_domxmlelement_class_functions[] = { PHP_FALIAS(set_attribute, domxml_elem_set_attribute, NULL) PHP_FALIAS(remove_attribute, domxml_elem_remove_attribute, NULL) PHP_FALIAS(get_attribute_node, domxml_elem_get_attribute_node, NULL) +/* since this function is not implemented, outcomment it for the time beeing PHP_FALIAS(set_attribute_node, domxml_elem_set_attribute_node, NULL) +*/ PHP_FALIAS(get_elements_by_tagname, domxml_elem_get_elements_by_tagname, NULL) PHP_FALIAS(has_attribute, domxml_elem_has_attribute, NULL) {NULL, NULL, NULL} @@ -2800,6 +2802,7 @@ PHP_FUNCTION(domxml_elem_get_attribute_node) /* {{{ proto bool domxml_elem_set_attribute_node(object attr) Sets value of given attribute */ +/* since this function is not implemented, outcomment it for the time beeing PHP_FUNCTION(domxml_elem_set_attribute_node) { zval *id, *arg1, *rv = NULL; @@ -2815,7 +2818,7 @@ PHP_FUNCTION(domxml_elem_set_attribute_node) WRONG_PARAM_COUNT; } - /* FIXME: The following line doesn't work */ + FIXME: The following line doesn't work newattrp = xmlCopyProp(nodep, attrp); if (!newattrp) { php_error(E_WARNING, "%s(): no such attribute '%s'", get_active_function_name(TSRMLS_C), attrp->name); @@ -2824,6 +2827,7 @@ PHP_FUNCTION(domxml_elem_set_attribute_node) DOMXML_RET_OBJ(rv, (xmlNodePtr) newattrp, &ret); } +*/ /* }}} */ /* {{{ proto string domxml_elem_has_attribute(string attrname) |