cvs: php4 /ext/domxml php_domxml.c php_domxml.h
| From: | Joseph Tate | Date: | Fri, 07 Jun 2002 14:56:09 +0000 |
| Subject: | cvs: php4 /ext/domxml php_domxml.c php_domxml.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12253@lists.php.net to get a copy of this message | ||
jtate Fri Jun 7 10:56:09 2002 EDT
Modified files:
/php4/ext/domxml php_domxml.c php_domxml.h
Log:
Added aliases to make attr_node access functions more consistent.
Old access functions are now deprecated.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: php_domxml.c
CVS: ----------------------------------------------------------------------
Index: php4/ext/domxml/php_domxml.c
diff -u php4/ext/domxml/php_domxml.c:1.164 php4/ext/domxml/php_domxml.c:1.165
--- php4/ext/domxml/php_domxml.c:1.164 Wed Jun 5 11:24:49 2002
+++ php4/ext/domxml/php_domxml.c Fri Jun 7 10:56:08 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.c,v 1.164 2002/06/05 15:24:49 derick Exp $ */
+/* $Id: php_domxml.c,v 1.165 2002/06/07 14:56:08 jtate Exp $ */
/* TODO
* - Support Notation Nodes
@@ -441,6 +441,10 @@
static zend_function_entry php_domxmlattr_class_functions[] = {
PHP_FALIAS(domattribute, domxml_doc_create_attribute, NULL)
+ PHP_FALIAS(node_name, domxml_attr_name, NULL)
+ PHP_FALIAS(node_value, domxml_attr_value, NULL)
+ PHP_FALIAS(node_specified, domxml_attr_specified, NULL)
+ /* Deprecated left in for BC */
PHP_FALIAS(name, domxml_attr_name, NULL)
PHP_FALIAS(value, domxml_attr_value, NULL)
PHP_FALIAS(specified, domxml_attr_specified, NULL)
Index: php4/ext/domxml/php_domxml.h
diff -u php4/ext/domxml/php_domxml.h:1.55 php4/ext/domxml/php_domxml.h:1.56
--- php4/ext/domxml/php_domxml.h:1.55 Fri May 31 09:38:58 2002
+++ php4/ext/domxml/php_domxml.h Fri Jun 7 10:56:08 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_domxml.h,v 1.55 2002/05/31 13:38:58 rodif_bl Exp $ */
+/* $Id: php_domxml.h,v 1.56 2002/06/07 14:56:08 jtate Exp $ */
#ifndef PHP_DOMXML_H
#define PHP_DOMXML_H
@@ -51,7 +51,7 @@
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"
+#define DOMXML_API_VERSION "20020607"
extern zend_module_entry domxml_module_entry;
#define domxml_module_ptr &domxml_module_entry