cvs: php4 /ext/domxml php_domxml.c php_domxml.h
| From: | Christian Stocker | Date: | Mon, 01 Jul 2002 14:48:40 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c php_domxml.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12648@lists.php.net to get a copy of this message | ||
chregu Mon Jul 1 10:48:40 2002 EDT
Modified files:
/php4/ext/domxml php_domxml.c php_domxml.h
Log:
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
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.177 php4/ext/domxml/php_domxml.c:1.178
--- php4/ext/domxml/php_domxml.c:1.177 Wed Jun 26 03:54:00 2002
+++ php4/ext/domxml/php_domxml.c Mon Jul 1 10:48:35 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.177 2002/06/26 07:54:00 derick Exp $ */
+/* $Id: php_domxml.c,v 1.178 2002/07/01 14:48:35 chregu Exp $ */
/* TODO
* - Support Notation Nodes
@@ -412,7 +412,9 @@
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 @@
/* {{{ 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 @@
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 @@
DOMXML_RET_OBJ(rv, (xmlNodePtr) newattrp, &ret);
}
+*/
/* }}} */
/* {{{ proto string domxml_elem_has_attribute(string attrname)
Index: php4/ext/domxml/php_domxml.h
diff -u php4/ext/domxml/php_domxml.h:1.62 php4/ext/domxml/php_domxml.h:1.63
--- php4/ext/domxml/php_domxml.h:1.62 Tue Jun 25 05:19:20 2002
+++ php4/ext/domxml/php_domxml.h Mon Jul 1 10:48:38 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.h,v 1.62 2002/06/25 09:19:20 chregu Exp $ */
+/* $Id: php_domxml.h,v 1.63 2002/07/01 14:48:38 chregu Exp $ */
#ifndef PHP_DOMXML_H
#define PHP_DOMXML_H
@@ -163,7 +163,9 @@
PHP_FUNCTION(domxml_elem_set_attribute);
PHP_FUNCTION(domxml_elem_remove_attribute);
PHP_FUNCTION(domxml_elem_get_attribute_node);
+/* since this function is not really implemented, outcomment it for the time beeing
PHP_FUNCTION(domxml_elem_set_attribute_node);
+*/
PHP_FUNCTION(domxml_elem_get_elements_by_tagname);
PHP_FUNCTION(domxml_elem_has_attribute);
/* Class CData methods */